From: Bartlomiej Zolnierkiewicz Date: Tue, 24 Mar 2009 22:22:57 +0000 (+0100) Subject: ide: shorten timeout value in ide_driveid_update() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4cda15a0995f2da5727514f84ec26d8b7420e1f9;p=linux-beck.git ide: shorten timeout value in ide_driveid_update() Shorten timeout value in ide_driveid_update() (30s -> 15s) to match try_to_identify(). Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c index 944cd857c90a..59c02184ba84 100644 --- a/drivers/ide/ide-iops.c +++ b/drivers/ide/ide-iops.c @@ -325,7 +325,7 @@ int ide_driveid_update(ide_drive_t *drive) tp_ops->exec_command(hwif, ATA_CMD_ID_ATA); - if (ide_busy_sleep(hwif, WAIT_WORSTCASE, use_altstatus)) { + if (ide_busy_sleep(hwif, WAIT_WORSTCASE / 2, use_altstatus)) { rc = 1; goto out_err; }