aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ide/ide-taskfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c
index b72a9aea7a51..bc3d8aed9a8d 100644
--- a/drivers/ide/ide-taskfile.c
+++ b/drivers/ide/ide-taskfile.c
@@ -454,7 +454,7 @@ static ide_startstop_t task_in_intr(ide_drive_t *drive)
454 /* If it was the last datablock check status and finish transfer. */ 454 /* If it was the last datablock check status and finish transfer. */
455 if (!hwif->nleft) { 455 if (!hwif->nleft) {
456 stat = wait_drive_not_busy(drive); 456 stat = wait_drive_not_busy(drive);
457 if (!OK_STAT(stat, 0, BAD_R_STAT)) 457 if (!OK_STAT(stat, 0, BAD_STAT))
458 return task_error(drive, rq, __FUNCTION__, stat); 458 return task_error(drive, rq, __FUNCTION__, stat);
459 task_end_request(drive, rq, stat); 459 task_end_request(drive, rq, stat);
460 return ide_stopped; 460 return ide_stopped;