aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorGeorge Cherian <[email protected]>2018-02-27 13:26:18 +0000
committerWolfram Sang <[email protected]>2018-03-17 21:56:35 +0100
commitd3898a78521cd383d287b3ed5683f914c48c3be9 (patch)
tree76158470260643e4e9ac5860d345508b2da79265 /tools/perf/util/c++/clang.cpp
parent7a20e707aae2562ad1e6fc39bbc0fa9fd47a6390 (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