diff options
author | George Cherian <george.cherian@cavium.com> | 2018-01-18 05:39:22 +0000 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-02-26 21:16:11 +0100 |
commit | 41b1d4de96323e84c0a902e7e4b2c0f367e77f92 (patch) | |
tree | e48694ce26b8c4d3253c4897def5e02fd2e22acd /Documentation/media/uapi/mediactl | |
parent | c2a3b3cce8df1cafeda2ab03563d7e703c51a4ac (diff) | |
download | op-kernel-dev-41b1d4de96323e84c0a902e7e4b2c0f367e77f92.zip op-kernel-dev-41b1d4de96323e84c0a902e7e4b2c0f367e77f92.tar.gz |
i2c: xlp9xx: Handle transactions with I2C_M_RECV_LEN properly
In case of transaction with I2C_M_RECV_LEN set, make sure the driver reads
the first byte and then updates the RX fifo with the expected length. Set
threshold to 1 byte so that driver gets an interrupt on receiving the first byte.
After which the transfer length is updated depending on the received length.
Also report SMBus block read functionality.
Signed-off-by: George Cherian <george.cherian@cavium.com>
Tested-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation/media/uapi/mediactl')
0 files changed, 0 insertions, 0 deletions