Re: [PATCH v2] i2c: rk3x: fix bug that cause transfer fails in maste receive mode

2014-08-21 Thread Doug Anderson
Addy, Title should probably have "master", not "maste" On Thu, Aug 21, 2014 at 2:38 PM, Addy Ke wrote: > 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

[PATCH v2] i2c: rk3x: fix bug that cause transfer fails in maste receive mode

2014-08-21 Thread Addy Ke
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. Acked-by: Max Schwarz Signed-off-by: Addy