Skip to contentSkip to conversation

mtip32xx: Increase timeout for standby command

PATCH Applied Asai Thambi S P 1 participant 1 message Sep 5, 2012 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 3/6 mtip32xx: Increase timeout for standby command

Increased timeout for standby command to work with larger capacity drives

---
 drivers/block/mtip32xx/mtip32xx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/block/mtip32xx/mtip32xx.c +1 -1
index 2553c73..cf557a4 100644
@@ -2047,7 +2047,7 @@ static void mtip_set_timeout(struct host_to_dev_fis *fis, unsigned int *timeout)
 		*timeout = 240000; /* 4 minutes */
 		break;
 	case ATA_CMD_STANDBYNOW1:
-		*timeout = 10000;  /* 10 seconds */
+		*timeout = 120000;  /* 2 minutes */
 		break;
 	case 0xF7:
 	case 0xFA:
Signature · 1 line
1.7.1