aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2012-01-13 12:14:26 +0100
committerWolfram Sang <[email protected]>2012-02-24 22:28:27 +0100
commit844990daa2e69a4258049ba9c2bae1180657dac3 (patch)
treeb86fa5273824030367cb2d45af845b45d2b02982 /tools/perf/util/scripting-engines/trace-event-python.c
parentb01543dfe67bb1d191998e90d20534dc354de059 (diff)
i2c: mxs: only flag completion when queue is completely done
The hardware generates an interrupt for every completed command in the queue while the code assumed that it will only generate one interrupt when the queue is empty. So, explicitly check if the queue is really empty. This patch fixed problems which occurred due to high traffic on the bus. While we are here, move the completion-initialization after the parameter error checking. Signed-off-by: Wolfram Sang <[email protected]> Cc: Shawn Guo <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Lothar Waßmann <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions