mmc: core: rework mmc_mmc_erase_timeout function
authorChuanxiao Dong <chuanxiao.dong@intel.com>
Thu, 29 Mar 2012 03:47:03 +0000 (11:47 +0800)
committerbuildbot <buildbot@intel.com>
Fri, 30 Mar 2012 22:19:12 +0000 (15:19 -0700)
commitf7d459c66106a96218e69d590f85049f3c610bd9
treef18f70d148f9688c2baf968b13776c143484cac4
parent185d2bf35332ff65cad014a9aa14f1b5b8f142cc
mmc: core: rework mmc_mmc_erase_timeout function

BZ: 29554

The calculation of erase/trim timeout is not excatly the same with
spec. Needs a rework. This patch can fix this.

Change-Id: Ieca799d2f1c181304f5dc57e896114868fe6ed99
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Reviewed-on: http://android.intel.com:8080/41560
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/mmc/core/core.c