diff options
author | Asai Thambi S P <asamymuthupa@micron.com> | 2012-09-05 12:32:16 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-09-12 16:19:49 -0400 |
commit | d7c8b945480b3505708c47aad2bca20bd20de2bd (patch) | |
tree | 67883f2acfb3b1347292128294de94dd5bff22d3 /drivers/block | |
parent | 12a166c919310f4c967d0959b4ed073cced850d7 (diff) |
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')
-rw-r--r-- | drivers/block/mtip32xx/mtip32xx.c | 2 |
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) | |||
2047 | *timeout = 240000; /* 4 minutes */ | 2047 | *timeout = 240000; /* 4 minutes */ |
2048 | break; | 2048 | break; |
2049 | case ATA_CMD_STANDBYNOW1: | 2049 | case ATA_CMD_STANDBYNOW1: |
2050 | *timeout = 10000; /* 10 seconds */ | 2050 | *timeout = 120000; /* 2 minutes */ |
2051 | break; | 2051 | break; |
2052 | case 0xF7: | 2052 | case 0xF7: |
2053 | case 0xFA: | 2053 | case 0xFA: |