ide: use ide_complete_cmd() for REQ_UNPARK_HEADS
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:42 +0000 (12:46 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:42 +0000 (12:46 +0100)
commitd364c7f50b3bb6dc77259974038567b821e2cf0a
tree8a7a01a17656fb758a03ed0f1430371c300b07c1
parente7fedc3ca0b8fcd3350a40c42a7100a9539e6c4a
ide: use ide_complete_cmd() for REQ_UNPARK_HEADS

* Fixup ->tf_flags in ide_do_park_unpark() to match their current use.

* Use ide_complete_cmd() for REQ_UNPARK_HEADS.

While at it:

* No need to read Error register for PM requests in task_no_data_intr().

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-park.c
drivers/ide/ide-taskfile.c