mmc: bcm2835: Terminate timeout work synchronously
It's better to make sure that the timeout work is really terminated before calling mmc_request_done. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Acked-by: Eric Anholt <eric@anholt.net> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Родитель
af19b7ce76
Коммит
37fefadee8
|
@ -597,7 +597,7 @@ static void bcm2835_finish_request(struct bcm2835_host *host)
|
|||
struct dma_chan *terminate_chan = NULL;
|
||||
struct mmc_request *mrq;
|
||||
|
||||
cancel_delayed_work(&host->timeout_work);
|
||||
cancel_delayed_work_sync(&host->timeout_work);
|
||||
|
||||
mrq = host->mrq;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче