android_kernel_samsung_msm8976/drivers/mtd/onenand
Aaro Koskinen 155025b224 mtd: onenand: fix deadlock in onenand_block_markbad
commit 5e64c29e98bfbba1b527b0a164f9493f3db9e8cb upstream.

Commit 5942ddbc50 ("mtd: introduce mtd_block_markbad interface")
incorrectly changed onenand_block_markbad() to call mtd_block_markbad
instead of onenand_chip's block_markbad function. As a result the function
will now recurse and deadlock. Fix by reverting the change.

Fixes: 5942ddbc50 ("mtd: introduce mtd_block_markbad interface")
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Acked-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2016-06-07 10:42:48 +02:00
..
Kconfig mtd: onenand: remove OneNAND simulator 2013-04-05 13:19:26 +01:00
Makefile mtd: onenand: remove OneNAND simulator 2013-04-05 13:19:26 +01:00
generic.c mtd: remove use of __devexit 2012-11-22 12:07:03 +02:00
omap2.c mtd: omap2: Use module_platform_driver() 2013-04-05 14:05:32 +01:00
onenand_base.c mtd: onenand: fix deadlock in onenand_block_markbad 2016-06-07 10:42:48 +02:00
onenand_bbt.c Merge git://git.infradead.org/mtd-2.6 2011-11-07 09:11:16 -08:00
samsung.c mtd: onenand/samsung: make regs-onenand.h file local 2013-04-19 13:51:24 +02:00
samsung.h mtd: onenand/samsung: make regs-onenand.h file local 2013-04-19 13:51:24 +02:00