i2c: s3c2410: add the new h/w init sequence
authorYoungmin Nam <youngmin.nam@samsung.com>
Thu, 2 Jul 2015 12:11:13 +0000 (21:11 +0900)
committermyung-su.cha <myung-su.cha@samsung.com>
Thu, 10 May 2018 04:40:52 +0000 (13:40 +0900)
commitd2a72e08534957018e09516086ea368ea64a2c39
tree81f0d0765ae00eba159cd584248ac0f2b5a7ecbc
parent9b7c1c07738c932fff06ccb034d9b52c036bade7
i2c: s3c2410: add the new h/w init sequence

To recover from "cannot get bus (error -110)" error,
add the new h/w init sequence. This init sequence initialize
i2c bus (sda and scl), through clearing S3C2410_IICSTAT_TXRXEN.

Change-Id: Id76af5a3c4baa18685b3104095fa3eb36942349f
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
drivers/i2c/busses/i2c-s3c2410.c