OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af19b7c
)
mmc: bcm2835: Terminate timeout work synchronously
author
Stefan Wahren
<stefan.wahren@i2se.com>
Sun, 11 Nov 2018 20:23:57 +0000
(21:23 +0100)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 17 Dec 2018 07:26:24 +0000
(08:26 +0100)
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>
drivers/mmc/host/bcm2835.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/bcm2835.c
b/drivers/mmc/host/bcm2835.c
index
cdfc24f
..
a7961c3
100644
(file)
--- 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)
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;