mtd: r852: Few fixes for problems that occur when card is rapidly inserted/removed.
authorMaxim Levitsky <maximlevitsky@gmail.com>
Sat, 27 Feb 2010 00:04:02 +0000 (02:04 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 9 Mar 2010 02:31:18 +0000 (18:31 -0800)
commitfb45d3232c641bfee5000c8a81e2005903734702
tree726df94625464228e8aad7ad208552f6aa2f7672
parentd4080cb32ee3d2ed18aa69ffde6010524bd686cd
mtd: r852: Few fixes for problems that occur when card is rapidly inserted/removed.

First don't enable card detection logic to early. Second be very careful with
DMA engine, to be sure it doesn't write to kernel memory driver doesn't own.

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/r852.c