]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: rcar_i2c: Set the slave address from rcar_i2c_xfer
authorIsmael Luceno Cortes <ismael.luceno@silicon-gears.com>
Thu, 7 Mar 2019 18:00:54 +0000 (18:00 +0000)
committerHeiko Schocher <hs@denx.de>
Fri, 8 Mar 2019 04:53:33 +0000 (05:53 +0100)
commit7c8f821e5dde39dd507925168cd38b1e3d9d46d5
treed9819092bd0f8ea484c755719f6c21a23216af4b
parentff4035be9bd1ef60f5cf772539304ac1ee728fbb
i2c: rcar_i2c: Set the slave address from rcar_i2c_xfer

It needs to be done for both reads and writes, so do it at rcar_i2c_xfer
to avoid duplication.

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