mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
i2c: rk3x: Remove redundant rk3x_i2c_clean_ipd()
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>
This commit is contained in:
parent
e26747bf53
commit
69eda367ac
1 changed files with 0 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue