[COMMON] i2c: exynos5: reset i2c master before suspend
authorYoungmin Nam <youngmin.nam@samsung.com>
Fri, 29 Jul 2016 05:16:45 +0000 (14:16 +0900)
committermyung-su.cha <myung-su.cha@samsung.com>
Wed, 9 May 2018 12:14:45 +0000 (21:14 +0900)
commit02720fac73cf7217b6d4ca8c74eb458be512bbfb
treed1b4d6a6d4117d931eb0d601fe4bae2ad98617f4
parentb938856dd994ad8e30c01b83e7181ca4fa0663b1
[COMMON] i2c: exynos5: reset i2c master before suspend

This patch resets i2c master before suspend to prevent central secquence
stuck. If master state is in arbitration lose, I2C master requests
clock for operation. So we need to reset i2c master to recover from
arbitration lose state.

Change-Id: I5f5996b38148868b1fac26d2b81284ae7a9ad1f3
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-exynos5.c