mmc: sdhci: Fix tuning timer incorrect setting when suspending host
commit62a0e438f7275e845bfbcccd6e641e07d4b89182
authorAaron Lu <aaron.lu@amd.com>
Wed, 28 Dec 2011 03:11:12 +0000 (28 11:11 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Jan 2012 01:24:46 +0000 (25 17:24 -0800)
tree2270fbdb8bf9b1ef0d37f1fe676e25fc998b4071
parent1cfbbb9ba574157c9f2312d3267762fdde0bfc59
mmc: sdhci: Fix tuning timer incorrect setting when suspending host

commit c6ced0db08010ed75df221a2946c5228454b38d5 upstream.

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>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mmc/host/sdhci.c