diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2016-02-20 22:27:48 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-02-24 10:06:46 -0800 |
commit | 5e64c29e98bfbba1b527b0a164f9493f3db9e8cb (patch) | |
tree | 9e0d8b236a3060800cc2bde08c74bf9008bb03c3 /usr | |
parent | 3b5394a3ccffbfa1d1d448d48742853a862822c4 (diff) | |
download | linux-5e64c29e98bfbba1b527b0a164f9493f3db9e8cb.tar.bz2 |
mtd: onenand: fix deadlock in onenand_block_markbad
Commit 5942ddbc500d ("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: 5942ddbc500d ("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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions