From: Asai Thambi S P Date: Wed, 5 Sep 2012 16:32:16 +0000 (+0530) Subject: mtip32xx: Increase timeout for standby command X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d7c8b945480b3505708c47aad2bca20bd20de2bd;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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: