From c385009b1567e66849af1fda7f3701894674dbc6 Mon Sep 17 00:00:00 2001 From: Youngmin Nam Date: Mon, 5 Sep 2016 21:53:37 +0900 Subject: [PATCH] [COMMON] i2c: exynos5: set HSI2C s/w reset without clear This patch sets HSI2C s/w reset before suspend without clear to prevent central sequence stuck by HSI2C master clock reuqest. Change-Id: I0cc38923758db76a73d96a331af79dc99d6b863f Signed-off-by: Youngmin Nam --- drivers/i2c/busses/i2c-exynos5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-exynos5.c b/drivers/i2c/busses/i2c-exynos5.c index 7b1cd37dd9bd..a98c2586a6a7 100644 --- a/drivers/i2c/busses/i2c-exynos5.c +++ b/drivers/i2c/busses/i2c-exynos5.c @@ -1137,7 +1137,7 @@ static int exynos5_i2c_suspend_noirq(struct device *dev) i2c_unlock_adapter(&i2c->adap); return ret; } - exynos5_i2c_reset(i2c); + writel(HSI2C_SW_RST, i2c->regs + HSI2C_CTL); clk_disable(i2c->clk); exynos_update_ip_idle_status(i2c->idle_ip_index, 1); #endif -- 2.20.1