summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-acpi.c
diff options
context:
space:
mode:
authorDoug Anderson <dianders@chromium.org>2015-04-03 20:13:07 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2015-04-09 09:08:32 +0200
commit49ba030221d23ad8e35deb66b74873b852f4d7bf (patch)
tree5278c1a485d331df11679c9b76bca0e09257d286 /drivers/mmc/host/sdhci-acpi.c
parentmmc: dw_mmc: Add a return in an unexpected cmd11 timeout (diff)
downloadlinux-49ba030221d23ad8e35deb66b74873b852f4d7bf.tar.xz
linux-49ba030221d23ad8e35deb66b74873b852f4d7bf.zip
mmc: dw_mmc: Add locking around cmd11 timer
It is possible for the cmd11 interrupt to fire and delete the cmd11_timer before the cmd11_timer was actually setup. Let's fix this race by adding a few spinlocks. Note that the race wasn't seen in practice without adding some printk statements, but it still seems wise to fix. Fixes: 5c935165da79 ("mmc: dw_mmc: Add a timeout for sending CMD11") Signed-off-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-acpi.c')
0 files changed, 0 insertions, 0 deletions