From: Bartlomiej Zolnierkiewicz Date: Fri, 25 Jan 2008 21:17:10 +0000 (+0100) Subject: ide: extend timeout for REQ_TYPE_ATA_{CMD,TASK} requests X-Git-Tag: v2.6.25-rc1~1236^2~41 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1f2564b8b56b305ab9acf5d387abca950180dff6;p=linux-2.6-omap-h63xx.git ide: extend timeout for REQ_TYPE_ATA_{CMD,TASK} requests Extend timeout for REQ_TYPE_ATA_{CMD,TASK} requests from WAIT_CMD (10sec) to WAIT_WORSTCASE (30sec, already used for REQ_TYPE_ATA_TASKFILE). Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c index 1526d79f87e..73e021267f3 100644 --- a/drivers/ide/ide-io.c +++ b/drivers/ide/ide-io.c @@ -902,7 +902,7 @@ static ide_startstop_t execute_drive_cmd (ide_drive_t *drive, } tf->command = args[0]; ide_tf_load(drive, <ask); - ide_execute_command(drive, args[0], &drive_cmd_intr, WAIT_CMD, NULL); + ide_execute_command(drive, args[0], &drive_cmd_intr, WAIT_WORSTCASE, NULL); return ide_started; done: