diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2016-02-20 22:27:48 +0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-04-18 08:49:18 -0400 |
commit | 1583c88c78b1c26258ab16870902263e3edd7db5 (patch) | |
tree | bd01d03a62926a9b34752e014499c1ad6f163802 /drivers/acpi/thermal.c | |
parent | bb403c355af83b32b7d16b988596a84d449b0762 (diff) | |
download | linux-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/thermal.c')
0 files changed, 0 insertions, 0 deletions