Skip to content

Commit aea64b5

Browse files
lategoodbyestorulf
authored andcommitted
Revert "mmc: bcm2835: Terminate timeout work synchronously"
The commit 37fefad ("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: 37fefad ("mmc: bcm2835: Terminate timeout work synchronously") Cc: [email protected] Signed-off-by: Stefan Wahren <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
1 parent f74c2bb commit aea64b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mmc/host/bcm2835.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ static void bcm2835_finish_request(struct bcm2835_host *host)
597597
struct dma_chan *terminate_chan = NULL;
598598
struct mmc_request *mrq;
599599

600-
cancel_delayed_work_sync(&host->timeout_work);
600+
cancel_delayed_work(&host->timeout_work);
601601

602602
mrq = host->mrq;
603603

0 commit comments

Comments
 (0)