diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2010-11-24 05:05:12 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-25 02:26:30 -0500 |
commit | aa0787a90c70587db6934547bb7687efc30062c7 (patch) | |
tree | 3875077ae94563c77db873381d25bc2214fa2e91 /scripts/checkincludes.pl | |
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 <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'scripts/checkincludes.pl')
0 files changed, 0 insertions, 0 deletions