mmc: sdhci: Fix tuning timer incorrect setting when suspending host
authorAaron Lu <aaron.lu@amd.com>
Wed, 28 Dec 2011 03:11:12 +0000 (11:11 +0800)
committerChris Ball <cjb@laptop.org>
Thu, 12 Jan 2012 20:16:55 +0000 (15:16 -0500)
commitc6ced0db08010ed75df221a2946c5228454b38d5
tree5fc9eefc412af40c73b0f019160de40153add3cf
parentaa9df4fb2adcc73d36fa41e23059519be770aaa5
mmc: sdhci: Fix tuning timer incorrect setting when suspending host

When suspending host, the tuning timer shoule be deactivated.
And the HOST_NEEDS_TUNING flag should be set after tuning timer is
deactivated.

Signed-off-by: Philip Rakity <prakity@marvell.com>
Signed-off-by: Aaron Lu <aaron.lu@amd.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci.c