diff options
author | Samu Onkalo <[email protected]> | 2010-11-18 12:04:20 +0200 |
---|---|---|
committer | Ben Dooks <[email protected]> | 2011-01-04 01:16:53 +0000 |
commit | 6a91b558648cffa94227b4ff9c6c996930bbdfd2 (patch) | |
tree | 87cafe789da2d072a68ca03db65da31ac13422f2 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 03ed6a3aa600c48593c3984812fda2d5945ddb46 (diff) |
i2c-omap: Set latency requirements only once for several messages
Ordinary I2C read consist of two messages. First a write operation
to tell register address and then read operation to get data.
CPU wake up latency is set and removed twice in read case.
Set latency requirement before the message processing loop
and remove the requirement after the loop to remove latency
adjustment operations between the messages.
Signed-off-by: Samu Onkalo <[email protected]>
Acked-by: Kevin Hilman <[email protected]>
Acked-by: Paul Walmsley <[email protected]>
Signed-off-by: Ben Dooks <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions