diff options
author | George Cherian <[email protected]> | 2018-02-27 13:26:18 +0000 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2018-03-17 21:56:35 +0100 |
commit | d3898a78521cd383d287b3ed5683f914c48c3be9 (patch) | |
tree | 76158470260643e4e9ac5860d345508b2da79265 /tools/perf/util/c++/clang.cpp | |
parent | 7a20e707aae2562ad1e6fc39bbc0fa9fd47a6390 (diff) |
i2c: xlp9xx: Check for Bus state before every transfer
I2C bus enters the STOP condition after the DATA_DONE interrupt is raised.
Essentially the driver should be checking the bus state before sending
any transaction. In case a transaction is initiated while the
bus is busy, the prior transaction's stop condition is not achieved.
Add the check to make sure the bus is not busy before every transaction.
Signed-off-by: George Cherian <[email protected]>
Reviewed-by: Jan Glauber <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions