]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ide: shorten timeout value in ide_driveid_update()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:57 +0000 (23:22 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:57 +0000 (23:22 +0100)
Shorten timeout value in ide_driveid_update() (30s -> 15s)
to match try_to_identify().

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-iops.c

index 944cd857c90ae7e54622ffb73ca4a4f318c9ced2..59c02184ba847b13ef6629da94aaf6c79bbbad8e 100644 (file)
@@ -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;
        }