mmc: use max_discard_to for SD write timeout
authorChuanxiao Dong <chuanxiao.dong@intel.com>
Fri, 17 Feb 2012 06:40:25 +0000 (14:40 +0800)
committerbuildbot <buildbot@intel.com>
Mon, 20 Feb 2012 14:46:15 +0000 (06:46 -0800)
commitf36fdfba8f4602fd7ce86017b034edf6826ef6f8
tree95031efd9f6841f1cc04b113bbef1aa7fc3c5c6e
parentd76034b7273b4b4a43a5852fa4297c45b8549126
mmc: use max_discard_to for SD write timeout

BZ: 24030

max_discard_to is the max timeout value allowed by host. Use
this value can stop kernel printing too large timeout warning.

Change-Id: Iaa0828475849f466f45ef55d3d4c8ae7f220b073
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Reviewed-on: http://android.intel.com:8080/35692
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/mmc/core/core.c
drivers/mmc/host/sdhci.c