diff options
author | Jan Glauber <jglauber@cavium.com> | 2016-06-08 06:51:17 (GMT) |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-06-09 20:05:32 (GMT) |
commit | 908cf12bbca0f18a23085a5a35301509e034f0a9 (patch) | |
tree | c44ae9c764fa6129db2b998e7d27f9ab21b6a1f2 /lib/ioremap.c | |
parent | a7ae81952cdab56a1277bd2f9ed7284c0f575120 (diff) | |
download | linux-908cf12bbca0f18a23085a5a35301509e034f0a9.tar.xz |
i2c: octeon: Missing AAK flag in case of I2C_M_RECV_LEN
During receive the controller requires the AAK flag for all
bytes but the final one. This was wrong in case of I2C_M_RECV_LEN,
where the decision if the final byte is to be transmitted
happened before adding the additional received length byte.
Set the AAK flag if additional bytes are to be received.
Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'lib/ioremap.c')
0 files changed, 0 insertions, 0 deletions