Skip to content

Commit

Permalink
ide-disk: extend timeout for PIO-in commands
Browse files Browse the repository at this point in the history
s/WAIT_CMD/WAIT_WORSTCASE/ to make the timeout the same as in do_rw_taskfile()

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jan 25, 2008
1 parent 57d7366 commit c52ea91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/ide/ide-disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ static ide_startstop_t __ide_do_rw_disk(ide_drive_t *drive, struct request *rq,
command = lba48 ? WIN_READ_EXT : WIN_READ;
}

ide_execute_command(drive, command, &task_in_intr, WAIT_CMD, NULL);
ide_execute_command(drive, command, &task_in_intr,
WAIT_WORSTCASE, NULL);
return ide_started;
} else {
if (drive->mult_count) {
Expand Down

0 comments on commit c52ea91

Please sign in to comment.