Message ID | 1369176276-1895-6-git-send-email-robherring2@gmail.com |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show |
On Tue, May 21, 2013 at 05:44:35PM -0500, Rob Herring wrote: > From: Rob Herring <rob.herring@calxeda.com> > > Based on Linux libata code, most drives are less than 10 sec, but some > need up to 20 sec. > > Signed-off-by: Rob Herring <rob.herring@calxeda.com> Reviewed-by: Tom Rini <trini@ti.com>
diff --git a/drivers/block/ahci.c b/drivers/block/ahci.c index 5ffdf95..ac60891 100644 --- a/drivers/block/ahci.c +++ b/drivers/block/ahci.c @@ -55,7 +55,7 @@ hd_driveid_t *ataid[AHCI_MAX_PORTS]; #endif /* Maximum timeouts for each event */ -#define WAIT_MS_SPINUP 10000 +#define WAIT_MS_SPINUP 20000 #define WAIT_MS_DATAIO 5000 #define WAIT_MS_FLUSH 5000 #define WAIT_MS_LINKUP 4