summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2016-02-20 22:27:48 +0200
committerBen Hutchings <ben@decadent.org.uk>2016-05-01 00:05:50 +0200
commit6c479a8fe44f57dc9f2cec60ab4ef637c80c35c6 (patch)
tree30d2d02e7e875feffeff668ec5215ddef55030f6 /include/linux
parentf4f8ac416a878ec45e4f560aae657246eee009c1 (diff)
mtd: onenand: fix deadlock in onenand_block_markbad
commit 5e64c29e98bfbba1b527b0a164f9493f3db9e8cb upstream. 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> Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions