aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/sharpsl.c
diff options
context:
space:
mode:
authorSebastian Siewior <bigeasy@tglx.de>2008-04-18 13:44:24 -0700
committerDavid Woodhouse <dwmw2@infradead.org>2008-04-22 14:13:14 +0100
commitc27e9b80bee039cfefa51c7af08b01eaab3dfb61 (patch)
tree37e0da84a4529d95f7b775ab66f29ef99446f7fe /drivers/mtd/nand/sharpsl.c
parentcb53b3b99992b6c548d56cdf47bc710640ee2ee1 (diff)
[MTD] [NAND] fix possible Ooops in rfc_from4
I found this while I was looking how the rs_lib is working. The rs_decoder is initialized _after_ the nand core code read the BBT table and _after_ the partition table has been added. The driver has a private BBT description which is in located in flash data so we Ooops if there is a bit flip _or_ if a bit flips while reading the partition table. This patch moves the initialization of the rs_lib before the first possible access by nand core. Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Jörn Engel <joern@wh.fh-wedel.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/nand/sharpsl.c')
0 files changed, 0 insertions, 0 deletions