i2c: rcar_i2c: Setup SCL/SDA delay at rcar_i2c_set_speed
authorIsmael Luceno Cortes <ismael.luceno@silicon-gears.com>
Thu, 7 Mar 2019 18:00:49 +0000 (18:00 +0000)
committerHeiko Schocher <hs@denx.de>
Fri, 8 Mar 2019 04:53:03 +0000 (05:53 +0100)
commit4fcff08c4b4fe4e8e0e000fd2c2d97b8dec68d35
tree8d8344dd099759297887d36ad6c9e1a5c0c2581c
parentbc00512438e8df139477908b79663d81df594261
i2c: rcar_i2c: Setup SCL/SDA delay at rcar_i2c_set_speed

Setting up the delay only needs to be done once; move it to
rcar_i2c_set_speed so it's done at initialization time.

Signed-off-by: Ismael Luceno <ismael.luceno@silicon-gears.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/rcar_i2c.c