From: Paul Parsons Date: Wed, 7 Mar 2012 14:12:50 +0000 (+0000) Subject: mtd: maps: l440gx: Add reference counter to set_vpp() X-Git-Tag: v3.4-rc1~16^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fbabf3f45a15c2b39170980cee01368138f4d79;p=pandora-kernel.git mtd: maps: l440gx: 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 l440gx_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