diff options
author | Guennadi Liakhovetski <[email protected]> | 2010-11-24 10:05:12 +0000 |
---|---|---|
committer | Paul Mundt <[email protected]> | 2010-11-25 16:26:30 +0900 |
commit | aa0787a90c70587db6934547bb7687efc30062c7 (patch) | |
tree | 3875077ae94563c77db873381d25bc2214fa2e91 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 2d3e4e7652f1db2de0fe8798a1a9be460ac9057b (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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions