Andreas Bombe 6d0be946e1 m68k: amiflop - Get rid of sleep_on calls
Apart from sleep_on() calls that could be easily converted to
wait_event() and completion calls amiflop also used a flag in ms_delay()
and ms_isr() as a custom mutex for ms_delay() without a need for
explicit unlocking.  I converted that to a standard mutex.

The replacement for the unconditional sleep_on() in fd_motor_on() is a
complete_all() together with a INIT_COMPLETION() before the mod_timer()
call.  It appears to me that fd_motor_on() might be called concurrently
and fd_select() does not guarantee mutual exclusivity in the case the
same drive gets selected again.

Signed-off-by: Andreas Bombe <aeb@debian.org>
Acked-by: Jörg Dorchain <joerg@dorchain.net>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2009-01-12 20:56:33 +01:00
..
2009-01-08 16:29:41 +00:00
2009-01-06 15:59:30 -08:00
2009-01-08 08:31:15 -08:00
2009-01-09 03:39:43 -05:00
2009-01-09 22:44:30 +01:00
2009-01-08 12:38:58 +00:00
2009-01-09 12:37:15 -08:00
2008-12-21 14:21:14 +11:00
2009-01-09 03:39:43 -05:00