Roel Kluin f9d4249172 pata_bf54x: decrease count first.
When count reaches 0 the postfix decrement still subtracts (to -1),
so bfin_reset_controller() returns as if the busy flag was cleared
while it was not.

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Acked-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-04-25 01:26:28 -04:00
..
2008-04-25 01:26:28 -04:00
2008-04-22 13:38:03 -07:00
2008-03-13 22:53:29 +01:00
2008-04-21 22:38:45 +00:00
2008-04-19 20:40:10 -04:00
2008-04-24 23:15:43 +02:00
2008-04-23 21:25:35 -04:00
2008-04-07 13:14:22 -07:00
2008-04-04 18:36:46 +02:00