summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-pltfm.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-04-25 13:57:02 +0200
committerChris Ball <chris@printf.net>2014-05-22 13:26:27 +0200
commit5b4f1f6c496aa3a90b617d1319274bf2017e639d (patch)
tree4279fce2c5cb6933873b6894ad36066c1a27e7f4 /drivers/mmc/host/sdhci-pltfm.c
parentmmc: sdhci: more efficient interrupt enable register handling (diff)
downloadlinux-5b4f1f6c496aa3a90b617d1319274bf2017e639d.tar.xz
linux-5b4f1f6c496aa3a90b617d1319274bf2017e639d.zip
mmc: sdhci: plug hole in disabling card detection interrupts
When we disable card detection interrupts, we should disable both the insert and remove interrupts irrespective of the current state - this avoids races between the hardware card detect changing state before we've read that updated state and altered the interrupt mask. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Tested-by: Markus Pargmann <mpa@pengutronix.de> Tested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc/host/sdhci-pltfm.c')
0 files changed, 0 insertions, 0 deletions