summaryrefslogtreecommitdiffstats
path: root/drivers/block/mtip32xx
diff options
context:
space:
mode:
authorAsai Thambi S P <asamymuthupa@micron.com>2012-09-05 18:32:16 +0200
committerJens Axboe <axboe@kernel.dk>2012-09-12 22:19:49 +0200
commitd7c8b945480b3505708c47aad2bca20bd20de2bd (patch)
tree67883f2acfb3b1347292128294de94dd5bff22d3 /drivers/block/mtip32xx
parentmtip32xx: Handle NCQ commands during the security locked state (diff)
downloadlinux-d7c8b945480b3505708c47aad2bca20bd20de2bd.tar.xz
linux-d7c8b945480b3505708c47aad2bca20bd20de2bd.zip
mtip32xx: Increase timeout for standby command
Increased timeout for standby command to work with larger capacity drives Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com> Signed-off-by: Selvan Mani <smani@micron.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/mtip32xx')
-rw-r--r--drivers/block/mtip32xx/mtip32xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.c b/drivers/block/mtip32xx/mtip32xx.c
index 2553c7353115..cf557a457cc0 100644
--- a/drivers/block/mtip32xx/mtip32xx.c
+++ b/drivers/block/mtip32xx/mtip32xx.c
@@ -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: