projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
561f52b
)
[COMMON] i2c: exynos5: I2C SFR changes
author
Kyungwoo Kang
<kwoo.kang@samsung.com>
Thu, 4 May 2017 04:51:41 +0000
(13:51 +0900)
committer
myung-su.cha
<myung-su.cha@samsung.com>
Wed, 9 May 2018 12:14:45 +0000
(21:14 +0900)
Trans status register has been changed by USIv2.
Change-Id: Ib5e50d59465eff40ba33fa19b7c42b84675f4668
Signed-off-by: Kyungwoo Kang <kwoo.kang@samsung.com>
drivers/i2c/busses/i2c-exynos5.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-exynos5.c
b/drivers/i2c/busses/i2c-exynos5.c
index d3bf839226fdf5623e0d6922d15da40d7e0b8c53..10850f757b64d18aac88f7ca7131066cf7b71b50 100644
(file)
--- a/
drivers/i2c/busses/i2c-exynos5.c
+++ b/
drivers/i2c/busses/i2c-exynos5.c
@@
-790,7
+790,8
@@
static int exynos5_i2c_xfer(struct i2c_adapter *adap,
/* master should be reset */
if (i2c->reset_before_trans) {
if (unlikely((readl(i2c->regs + HSI2C_TRANS_STATUS)
- & HSI2C_MAST_ST_MASK) == 0xC)) {
+ & HSI2C_MAST_ST_MASK) == 0x6)) {
+ pr_info("%s trans status and reset = %s\n", __func__, adap->name);
i2c->need_hw_init = 1;
}
}