[MTD] m25p80: fix bug - ATmel spi flash fails to be copied to
authorMichael Hennerich <michael.hennerich@analog.com>
Fri, 4 Jul 2008 06:54:42 +0000 (23:54 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 11 Jul 2008 13:44:32 +0000 (14:44 +0100)
commit72289824423655e67993c25c91a7a86a34917209
tree6afeeae0ca8ce251ede891f2b9ccf3b8779d3930
parenta8931ef380c92d121ae74ecfb03b2d63f72eea6f
[MTD] m25p80: fix bug - ATmel spi flash fails to be copied to

Atmel serial flash tends to power up with the protection status bits set.
http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=4089

[michael.hennerich@analog.com: remove duplicate code]
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/m25p80.c