]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: i2c: fix >32 byte reads
authorWadim Egorov <w.egorov@phytec.de>
Thu, 3 Aug 2017 11:48:11 +0000 (13:48 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 5 Sep 2017 09:13:36 +0000 (11:13 +0200)
commit2e11299e8da3db05d9bf3c1c16edff27bad60b9a
tree3d887dca6d16fa559240e23df26461592ad5b2df
parentfa200d515671c9a0e349469af672ca6c109edb22
rockchip: i2c: fix >32 byte reads

The hw can read up to 32 bytes at a time. If we need
more than one chunk, we have to enter the plain RX mode.

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/i2c/rk_i2c.c