diff options
author | 2008-04-25 11:37:54 +0800 | |
---|---|---|
committer | 2008-04-25 01:26:28 -0400 | |
commit | f9d42491723dbb77bdc9b9dc7e096ea57d535992 (patch) | |
tree | 8373ddad57fea6c7d85e80e196395b086c994b20 /drivers/ide/ide-lib.c | |
parent | sata_mv: re-enable hotplug, update TODO list (diff) | |
download | wireguard-linux-f9d42491723dbb77bdc9b9dc7e096ea57d535992.tar.xz wireguard-linux-f9d42491723dbb77bdc9b9dc7e096ea57d535992.zip |
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>
Diffstat (limited to 'drivers/ide/ide-lib.c')
0 files changed, 0 insertions, 0 deletions