Skip to content

Commit

Permalink
ide: shorten timeout value in ide_driveid_update()
Browse files Browse the repository at this point in the history
Shorten timeout value in ide_driveid_update() (30s -> 15s)
to match try_to_identify().

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Mar 24, 2009
1 parent 62bd044 commit 4cda15a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/ide-iops.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4cda15a

Please sign in to comment.