summaryrefslogtreecommitdiff
path: root/drivers/mmc/core
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2018-02-23 11:47:25 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2018-02-27 17:12:36 +0300
commit5b43df8b4c1a7f0c3fbf793c9566068e6b1e570c (patch)
tree9d8a72f1db810fe6705d3597fe9999bda4ed1ad9 /drivers/mmc/core
parent0d84b9e5631d923744767dc6608672df906dd092 (diff)
downloadlinux-5b43df8b4c1a7f0c3fbf793c9566068e6b1e570c.tar.xz
mmc: dw_mmc: Avoid accessing registers in runtime suspended state
cat /sys/kernel/debug/mmc0/regs will hang up the system since it's in runtime suspended state, so the genpd and biu_clk is off. This patch fixes this problem by calling pm_runtime_get_sync to wake it up before reading the registers. Fixes: e9ed8835e990 ("mmc: dw_mmc: add runtime PM callback") Cc: <stable@vger.kernel.org> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core')
0 files changed, 0 insertions, 0 deletions