ide: improve handling of Power Management requests
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 24 Jun 2009 06:52:17 +0000 (23:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2009 07:32:33 +0000 (00:32 -0700)
commita1317f714af7aed60ddc182d0122477cbe36ee9b
tree3ffcdd9a629162e5e648500988b0c7533f13e606
parentba9413bd284e79ea43b0ae406a7a29526aaf82b3
ide: improve handling of Power Management requests

Make hwif->rq point to PM request during PM sequence and do not allow
any other types of requests to slip in (the old comment was never correct
as there should be no such requests generated during PM sequence).

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-io.c