Thread (29 messages) 29 messages, 4 authors, 2016-05-06
STALE3678d
Revisions (4)
  1. v7 current
  2. v8 [diff vs current]
  3. v9 [diff vs current]
  4. v10 [diff vs current]

[PATCH v7 3/9] i2c: rk3x: Remove redundant rk3x_i2c_clean_ipd()

From: David Wu <hidden>
Date: 2016-05-04 14:14:33
Also in: linux-arm-kernel, linux-i2c, linux-rockchip, lkml
Subsystem: arm/rockchip soc support, i2c subsystem, i2c subsystem host drivers, the rest · Maintainers: Heiko Stuebner, Wolfram Sang, Andi Shyti, Linus Torvalds

Call rk3x_i2c_setup() before rk3x_i2c_start()
and the last thing in setup was to clean the IPD,
so no reason to do it at the beginning of start.

Signed-off-by: David Wu <redacted>
---
Change in v7:
- none

 drivers/i2c/busses/i2c-rk3x.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c
index 1e2677a..9eeb4e5 100644
--- a/drivers/i2c/busses/i2c-rk3x.c
+++ b/drivers/i2c/busses/i2c-rk3x.c
@@ -174,7 +174,6 @@ static void rk3x_i2c_start(struct rk3x_i2c *i2c)
 {
 	u32 val;
 
-	rk3x_i2c_clean_ipd(i2c);
 	i2c_writel(i2c, REG_INT_START, REG_IEN);
 
 	/* enable adapter with correct mode, send START condition */
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help