->As per eMMC part data sheet, worst case time out value for
sanitize command is 8 mins.
->Increase SW time out value to 600 seconds for
sanitize command.
Bug
200137087
Change-Id: Ia7397cdb93542f16f4041ff388501f534ecaf56c
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/934880
(cherry picked from commit
0c22e4fdd465585d0253f946fc57fd96de09f0ee)
Reviewed-on: http://git-master/r/936929
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
* linux/drivers/mmc/host/sdhci.c - Secure Digital Host Controller Interface driver
*
* Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved.
- * Copyright (C) 2012-2015, NVIDIA CORPORATION. All rights reserved.
+ * Copyright (C) 2012-2016, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
if ((cmd->opcode == MMC_SWITCH) &&
(((cmd->arg >> 16) & EXT_CSD_SANITIZE_START)
== EXT_CSD_SANITIZE_START))
- timeout = 100;
+ timeout = 600;
else
timeout = 30;