lkml.org 
[lkml]   [2016]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v8 3/8] i2c: rk3x: Remove redundant rk3x_i2c_clean_ipd()
    Date
    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 <david.wu@rock-chips.com>
    Reviewed-by: Douglas Anderson <dianders@chromium.org>
    ---
    Change in v8:
    - 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

    \
     
     \ /
      Last update: 2016-05-11 06:41    [W:2.847 / U:0.952 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site