i2c: octeon: Support I2C_M_RECV_LEN
authorDavid Daney <david.daney@cavium.com>
Fri, 18 Mar 2016 08:46:29 +0000 (09:46 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 18 Mar 2016 14:50:42 +0000 (15:50 +0100)
commit886f6f8337dd506e9ae0e45ee13eef3a0ceebd03
tree12552a546618b81bd89da48757497d8ac66d1ee9
parent54108e56a8339018284c81cf8dcde66afc7e42c1
i2c: octeon: Support I2C_M_RECV_LEN

If I2C_M_RECV_LEN is set consider the length byte.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-octeon.c