summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/reboot.c
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2016-02-20 22:27:48 +0200
committerSasha Levin <sasha.levin@oracle.com>2016-04-18 08:49:18 -0400
commit1583c88c78b1c26258ab16870902263e3edd7db5 (patch)
treebd01d03a62926a9b34752e014499c1ad6f163802 /drivers/acpi/reboot.c
parentbb403c355af83b32b7d16b988596a84d449b0762 (diff)
downloadlinux-stable-1583c88c78b1c26258ab16870902263e3edd7db5.tar.gz
linux-stable-1583c88c78b1c26258ab16870902263e3edd7db5.tar.bz2
linux-stable-1583c88c78b1c26258ab16870902263e3edd7db5.zip
mtd: onenand: fix deadlock in onenand_block_markbad
[ Upstream commit 5e64c29e98bfbba1b527b0a164f9493f3db9e8cb ] 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> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'drivers/acpi/reboot.c')
0 files changed, 0 insertions, 0 deletions