diff options
author | George Cherian <[email protected]> | 2018-02-27 13:26:19 +0000 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2018-03-17 21:57:44 +0100 |
commit | e349d7d08e7044caf37a36409305edbd5af013c7 (patch) | |
tree | 6f9452cfc36d0baac54a3233275194d6dfb2d4e1 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | d3898a78521cd383d287b3ed5683f914c48c3be9 (diff) |
i2c: xlp9xx: Handle NACK on DATA properly
In case we receive NACK on DATA we shouldn't be resetting the controller,
rather we should issue STOP command. This will terminate the current
transaction and -EIO is returned.
While at that handle the SMBus Quick Command properly.
We shouldn't be setting the XLP9XX_I2C_CMD_READ/WRITE for such
transactions.
Signed-off-by: George Cherian <[email protected]>
Reviewed-by: Jan Glauber <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions