diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2018-12-06 16:18:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-05 09:20:19 +0100 |
commit | d302bd158ce1e3b358446184133e07b0ab564f81 (patch) | |
tree | 81006c3be143ca200e699fe7376f36b754cf83c9 /fs/btrfs/dev-replace.c | |
parent | 7e976ccc4f0666131f1a59d01b958b3e51718084 (diff) |
mmc: meson-gx: make sure the descriptor is stopped on errors
[ Upstream commit 18f92bc02f1739b5c4d5b70009fbb7eada45bca3 ]
On errors, if we don't stop the descriptor chain, it may continue to
run and raise IRQ after we have called mmc_request_done(). This is bad
because we won't be able to get cmd anymore and properly deal with the
IRQ.
This patch makes sure the descriptor chain is stopped before
calling mmc_request_done()
Fixes: 79ed05e329c3 ("mmc: meson-gx: add support for descriptor chain mode")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions