diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2018-06-12 12:55:23 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-07-16 11:21:45 +0200 |
commit | ecf7c7c5855aca18ddde534d7bfff111ce0cb26f (patch) | |
tree | 4a0472609e775f15ac53f4a9fd871d699822c5b2 /include/linux/mmc | |
parent | 75067aba7afbeca2101f50f78ac1b7c036778c44 (diff) | |
download | lwn-ecf7c7c5855aca18ddde534d7bfff111ce0cb26f.tar.gz lwn-ecf7c7c5855aca18ddde534d7bfff111ce0cb26f.zip |
mmc: dw_mmc-exynos: fix potential external abort in resume_noirq()
dw_mci_exynos_resume_noirq() performs DWMMC register access without
ensuring that respective clocks are enabled. This might cause external
abort on some systems (observed on Exynos5433 based boards). Fix this
by forcing a PM runtime active state before register access. Using
SET_NOIRQ_SYSTEM_SLEEP_PM_OPS allows also to cleanup conditional code
a bit.
Suggested-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc')
0 files changed, 0 insertions, 0 deletions