ide: Fix code dealing with sleeping devices in do_ide_request()
authorElias Oltmanns <eo@nebensachen.de>
Tue, 31 Mar 2009 18:14:56 +0000 (20:14 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 31 Mar 2009 18:14:56 +0000 (20:14 +0200)
commit9010941c5483a7a5bb1f7d97ee62491fb078bb51
tree0aaea427f70b0431fc7a98c68b7bc9fd012d0dbc
parente1c502482853f84606928f5a2f2eb6da1993cda1
ide: Fix code dealing with sleeping devices in do_ide_request()

Unfortunately, I missed a catch when reviewing the patch committed as
201bffa4. Here is the fix to the currently broken handling of sleeping
devices. In particular, this is required to get the disk shock
protection code working again.

Reported-by: Christian Thaeter <ct@pipapo.org>
Cc: stable@kernel.org
Signed-off-by: Elias Oltmanns <eo@nebensachen.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-io.c