addy ke 5da4309f9e i2c: rk3x: fix bug that cause transfer fails in master receive mode
In rk3x SOC, the I2C controller can receive/transmit up to 32 bytes data
in one chunk, so the size of data to be write/read to/from TXDATAx/RXDATAx
must be less than or equal 32 bytes at a time.

Tested on rk3288-pinky board, elan receive 158 bytes data.

Signed-off-by: Addy Ke <addy.ke@rock-chips.com>
Acked-by: Max Schwarz <max.schwarz@online.de>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
2014-09-02 14:29:28 +02:00
..
2011-01-04 00:53:37 +00:00
2014-01-16 11:15:50 +01:00
2014-06-02 19:29:37 +02:00
2014-06-02 19:29:37 +02:00
2014-08-01 19:47:17 +02:00
2014-06-02 19:29:37 +02:00
2014-08-04 23:19:15 +02:00