mtd: OneNAND: do not use DMA if oops in progress
authorAaro Koskinen <aaro.koskinen@nokia.com>
Wed, 10 Feb 2010 17:03:19 +0000 (19:03 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 26 Feb 2010 13:22:01 +0000 (13:22 +0000)
commit932f5d21ccd2705f1fb22e8a9e0da42013dcee17
tree87495b482b19bb453322a233cf528c758dd4a2da
parent7d70f334ad2bf1b3aaa1f0699c0f442e14bcc9e0
mtd: OneNAND: do not use DMA if oops in progress

Otherwise we may hang if we are called from panic() through mtdoops.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/onenand/omap2.c