From: Asai Thambi S P Date: Wed, 5 Sep 2012 16:32:16 +0000 (+0530) Subject: mtip32xx: Increase timeout for standby command X-Git-Tag: next-20120910~57^2~1^2~6 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=61ea4b820cdc713781e2cc0b2822d11927b6d4b8;p=karo-tx-linux.git mtip32xx: Increase timeout for standby command Increased timeout for standby command to work with larger capacity drives Signed-off-by: Asai Thambi S P Signed-off-by: Selvan Mani Signed-off-by: Jens Axboe --- 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: