mmc: dw_mmc: exynos: fix the suspend/resume issue for exynos5433
authorJaehoon Chung <jh80.chung@samsung.com>
Fri, 9 Mar 2018 06:10:21 +0000 (15:10 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Mar 2018 16:24:31 +0000 (18:24 +0200)
commita592984e03e65e81baff2efd058932e2ac56b60d
treefbfc540543380e218ef0c36af4d23fd7663de5ae
parent23a8825aea656847e5d18085ec7909e7a05da148
mmc: dw_mmc: exynos: fix the suspend/resume issue for exynos5433

commit e22842dd64bf86753d3f2b6ea474d73fc1e6ca24 upstream.

Before enabling the clock, dwmmc exynos driver is trying to access the
register. Then the kernel panic can be occurred.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/dw_mmc-exynos.c