diff options
author | Stefan Wahren <wahrenst@gmx.net> | 2019-09-08 03:45:52 -0400 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-09-11 09:57:21 -0400 |
commit | aea64b583601aa5e0d6ea51a0420e46e43710bd4 (patch) | |
tree | 6442ade107306afe7d74db915bf913135372cdde /drivers/mmc | |
parent | f74c2bb98776e2de508f4d607cd519873065118e (diff) |
Revert "mmc: bcm2835: Terminate timeout work synchronously"
The commit 37fefadee8bb ("mmc: bcm2835: Terminate timeout work
synchronously") causes lockups in case of hardware timeouts due the
timeout work also calling cancel_delayed_work_sync() on its own.
So revert it.
Fixes: 37fefadee8bb ("mmc: bcm2835: Terminate timeout work synchronously")
Cc: stable@vger.kernel.org
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/bcm2835.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/bcm2835.c b/drivers/mmc/host/bcm2835.c index 7e0d3a49c06d..bb31e13648d6 100644 --- a/drivers/mmc/host/bcm2835.c +++ b/drivers/mmc/host/bcm2835.c | |||
@@ -597,7 +597,7 @@ static void bcm2835_finish_request(struct bcm2835_host *host) | |||
597 | struct dma_chan *terminate_chan = NULL; | 597 | struct dma_chan *terminate_chan = NULL; |
598 | struct mmc_request *mrq; | 598 | struct mmc_request *mrq; |
599 | 599 | ||
600 | cancel_delayed_work_sync(&host->timeout_work); | 600 | cancel_delayed_work(&host->timeout_work); |
601 | 601 | ||
602 | mrq = host->mrq; | 602 | mrq = host->mrq; |
603 | 603 | ||