mtip32xx: Increase timeout for standby command
authorAsai Thambi S P <asamymuthupa@micron.com>
Wed, 5 Sep 2012 16:32:16 +0000 (22:02 +0530)
committerJens Axboe <axboe@kernel.dk>
Wed, 12 Sep 2012 20:19:49 +0000 (22:19 +0200)
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>
drivers/block/mtip32xx/mtip32xx.c

index 2553c735311517341ee972da16c77e2a9768d491..cf557a457cc03faf319f451b2f7a031e06929cc9 100644 (file)
@@ -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: