aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <[email protected]>2010-11-24 10:05:12 +0000
committerPaul Mundt <[email protected]>2010-11-25 16:26:30 +0900
commitaa0787a90c70587db6934547bb7687efc30062c7 (patch)
tree3875077ae94563c77db873381d25bc2214fa2e91 /tools/perf/scripts/python
parent2d3e4e7652f1db2de0fe8798a1a9be460ac9057b (diff)
mmc: sh_mmcif: switch to completion, fix flags
In sh_mmcif.c an event is used as a completion, switch over. When a wait_for_completion*_timeout() returns, it suffices to check the remaining time, setting an additional flag before waking up the waiting task only reduces the race window, but does not eliminate it. This patch switches the driver to use a completion to signal an interrupt, the only case, when an interrupt should not wake up the waiter, is when an automatic CMD12 completes. Also fix MODULE_ALIAS. Signed-off-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions