ide: task_end_request() fix
authorTejun Heo <htejun@gmail.com>
Sat, 26 Jan 2008 19:13:11 +0000 (20:13 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Jan 2008 19:13:11 +0000 (20:13 +0100)
commit4d7a984bdcbdda69fc6b2a4a655415140270aa7b
tree92d331aa25949277fe76354dfdaf5a5d6e62aaf4
parent79f21b84d94c02b941818df282b61f2a5a028722
ide: task_end_request() fix

task_end_request() modified to always call ide_end_drive_cmd()
for taskfile requests.  Previously, ide_end_drive_cmd() was
called only when IDE_TFLAG_FLAGGED was set.  Also,
ide_dma_intr() is modified to use task_end_request().

Enables TASKFILE ioctls to get valid register outputs on
successful completion.

Bart:
- ported it over recent IDE changes

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-dma.c
drivers/ide/ide-taskfile.c
include/linux/ide.h