]> git.dujemihanovic.xyz Git - u-boot.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)
commit5deaa530280fda91b8fef632c62c94e7bfd89561
tree3d887dca6d16fa559240e23df26461592ad5b2df
parent313bbcf0ea91db33bdf6ac394e26acff4215bfcf
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