aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-24 23:22:57 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-24 23:22:57 +0100
commit4cda15a0995f2da5727514f84ec26d8b7420e1f9 (patch)
treead6298eefc164a66c9038682b7253113bf1b053a
parent62bd0441a60b0499db339b3dc1be039f8ed9fd35 (diff)
downloadkernel_samsung_aries-4cda15a0995f2da5727514f84ec26d8b7420e1f9.zip
kernel_samsung_aries-4cda15a0995f2da5727514f84ec26d8b7420e1f9.tar.gz
kernel_samsung_aries-4cda15a0995f2da5727514f84ec26d8b7420e1f9.tar.bz2
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 <bzolnier@gmail.com>
-rw-r--r--drivers/ide/ide-iops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c
index 944cd85..59c0218 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;
}