Before enabling the clock, dwmmc exynos driver is trying to access the
register. Then the kernel panic can be occurred.
Change-Id: I99a859ab167307eede06dba52a15138424254fa1
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>
static int dw_mci_exynos_runtime_resume(struct device *dev)
{
struct dw_mci *host = dev_get_drvdata(dev);
- int ret;
+ int ret = 0;
ret = dw_mci_runtime_resume(dev);
if (ret)