summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/atmel_nand.c
diff options
context:
space:
mode:
authorStefani Seibold <stefani@seibold.net>2010-08-05 11:19:26 +0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-08-06 12:22:16 +0400
commit8ae664184c45def51ff0b61d4bd6c6671db6cb4f (patch)
treee377d32da757a7c61150f2569bda85411a1835eb /drivers/mtd/nand/atmel_nand.c
parentb8664b3762dc81e7a19ad4ffaae4055d6d5a7196 (diff)
downloadlinux-8ae664184c45def51ff0b61d4bd6c6671db6cb4f.tar.xz
mtd: change struct flchip_shared spinlock locking into mutex
This patch prevent to schedule while atomic by changing the flchip_shared spinlock into a mutex. This should be save since no atomic path will use this lock. It was suggested by Arnd Bergmann and Vasiliy Kulikov. Signed-off-by: Stefani Seibold <stefani@seibold.net> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/atmel_nand.c')
0 files changed, 0 insertions, 0 deletions