diff options
author | Ulf Hansson <[email protected]> | 2019-06-18 14:05:17 +0200 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2019-06-18 14:06:32 +0200 |
commit | 83293386bc95cf5e9f0c0175794455835bd1cb4a (patch) | |
tree | 6066168c6d57f1965b389d3e31d761386371e4c6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0f7b79a44e7d7dd3ef1f59758c1a341f217ff5e5 (diff) |
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: [email protected]
Reported-by: Douglas Anderson <[email protected]>
Tested-by: Douglas Anderson <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions