aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorAlexander Monakov <[email protected]>2018-04-28 16:56:06 +0300
committerWolfram Sang <[email protected]>2018-05-10 12:30:20 +0200
commit06cb616b1bca7080824acfedb3d4c898e7a64836 (patch)
tree06acef331b438d39e151dd3b2ab909bbc5c0d690 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parent4c0330208f6bfe5285bae239fdb2a7ec1ce1f78d (diff)
i2c: designware: fix poll-after-enable regression
Not all revisions of DW I2C controller implement the enable status register. On platforms where that's the case (e.g. BG2CD and SPEAr ARM SoCs), waiting for enable will time out as reading the unimplemented register yields zero. It was observed that reading the IC_ENABLE_STATUS register once suffices to avoid getting it stuck on Bay Trail hardware, so replace polling with one dummy read of the register. Fixes: fba4adbbf670 ("i2c: designware: must wait for enable") Signed-off-by: Alexander Monakov <[email protected]> Tested-by: Ben Gardner <[email protected]> Acked-by: Jarkko Nikula <[email protected]> Signed-off-by: Wolfram Sang <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions