summaryrefslogtreecommitdiffstats
path: root/tools/build/feature/test-sdt.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2019-06-18 14:05:17 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2019-06-18 14:06:32 +0200
commit83293386bc95cf5e9f0c0175794455835bd1cb4a (patch)
tree6066168c6d57f1965b389d3e31d761386371e4c6 /tools/build/feature/test-sdt.c
parent0f7b79a44e7d7dd3ef1f59758c1a341f217ff5e5 (diff)
downloadlinux-83293386bc95cf5e9f0c0175794455835bd1cb4a.tar.bz2
mmc: core: Prevent processing SDIO IRQs when the card is suspended
Processing of SDIO IRQs must obviously be prevented while the card is system suspended, otherwise we may end up trying to communicate with an uninitialized SDIO card. Reports throughout the years shows that this is not only a theoretical problem, but a real issue. So, let's finally fix this problem, by keeping track of the state for the card and bail out before processing the SDIO IRQ, in case the card is suspended. Cc: stable@vger.kernel.org Reported-by: Douglas Anderson <dianders@chromium.org> Tested-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/build/feature/test-sdt.c')
0 files changed, 0 insertions, 0 deletions