projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3bbb9d
)
ide: extend timeout for REQ_TYPE_ATA_{CMD,TASK} requests
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 25 Jan 2008 21:17:10 +0000
(22:17 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 25 Jan 2008 21:17:10 +0000
(22:17 +0100)
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 <bzolnier@gmail.com>
drivers/ide/ide-io.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-io.c
b/drivers/ide/ide-io.c
index 1526d79f87e4b420c6a968fdc0639153bcfe3b37..73e021267f3bb3fdf87521e8d8dfb0a768d8b69e 100644
(file)
--- 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: