rockchip: i2c: fix >32 byte writes
authorJohn Keeping <john@metanate.com>
Thu, 18 Aug 2016 19:08:42 +0000 (20:08 +0100)
committerHeiko Schocher <hs@denx.de>
Tue, 13 Sep 2016 04:57:27 +0000 (06:57 +0200)
commit21d4b7d4e1786a2ccbcc5b304cf714e3778e6183
treec98bcb4eccd0b0ca2554f7ae9dbe9dd842135e09
parent551288bd8ba5db8f7553a9b7e4420fd005767b88
rockchip: i2c: fix >32 byte writes

The special handling of the chip address and register address must only
happen before we send the data buffer, otherwise we will end up
inserting both of these every 32 bytes.

Signed-off-by: John Keeping <john@metanate.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/i2c/rk_i2c.c