i2c: rk3x: Remove redundant rk3x_i2c_clean_ipd()
authorDavid Wu <david.wu@rock-chips.com>
Mon, 16 May 2016 13:57:38 +0000 (21:57 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 17 Jun 2016 11:39:15 +0000 (13:39 +0200)
rk3x_i2c_setup() gets called directly 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 <david.wu@rock-chips.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-rk3x.c

index 1e2677ae1638538baa2eb3090d1704b1a5080265..9eeb4e5312f38c3176e3357bc1e11762aa500805 100644 (file)
@@ -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 */