From: Paul Parsons Date: Wed, 7 Mar 2012 14:13:41 +0000 (+0000) Subject: mtd: maps: pcmciamtd: Add reference counter to set_vpp() X-Git-Tag: v3.4-rc1~16^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c8d206f219fe52966d970f791246a542718e5ba;p=pandora-kernel.git mtd: maps: pcmciamtd: Add reference counter to set_vpp() This patch is part of a set which fixes unnecessary flash erase and write errors resulting from the MTD CFI driver turning off vpp while an erase is in progress. This patch allows pcmciamtd_set_vpp() calls to be nested by adding a reference counter. Signed-off-by: Paul Parsons Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed