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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Jan 2012 00:13:27 +0000 (16:13 -0800)
commit5b39b6d126f7133b98e5655e5aedfb87b3e5366c
treedc5ee6aeecf6ede389c81faaee2d003af5baa98f
parent4ed074c646b78c81a5b1b939b8a35c5b7004be00
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