[PATCH v3] i2c: rk3x: fix bug that cause transfer fails in master receive mode
dianders at chromium.org
Thu Aug 21 18:15:13 PDT 2014
On Thu, Aug 21, 2014 at 6:13 PM, Addy Ke <addy.ke at rock-chips.com> 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 a time.
> Tested on rk3288-pinky board, elan receive 158 bytes data.
> Acked-by: Max Schwarz <max.schwarz at online.de>
> Signed-off-by: Addy Ke <addy.ke at rock-chips.com>
> Changes in v2:
> - Use cleaner syntax as suggested by Sergei.
> - Update commit message as suggested by Wolfram.
> Changes in v3:
> - fix typo: maste --> master and double spaces after 'len'
> drivers/i2c/busses/i2c-rk3x.c | 4 ++++
> 1 file changed, 4 insertions(+)
Oops, we collided in the ether. This looks good to me.
Tested-by: Doug Anderson <dianders at chromium.org>
More information about the linux-arm-kernel