mmc: host: sdhci: delayed clock gate update
authorBitan Biswas <bbiswas@nvidia.com>
Tue, 19 Nov 2013 20:43:41 +0000 (01:43 +0530)
committerHarry Hong <hhong@nvidia.com>
Thu, 12 Dec 2013 00:33:10 +0000 (16:33 -0800)
commita7ebdd84dc9f7364c1669eddc0e33a34ec1eee39
tree40e2aa1703b86a53e63f4ce12520ca0eb1031bab
parent48bf8856224396d1c065525b328f51982119f3b8
mmc: host: sdhci: delayed clock gate update

Changes are:
 - cancel delayed clock gate work before suspend
 - sdhci disable does not schedule delayed clock
   gate work if clock is already disabled

bug 1372006

Change-Id: I55160b258d5a28b9e454420768a50ed70a127e9a
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/338618
(cherry picked from commit 3bbbfb7d97825c80fe0f667ce2c7c9062c1660da)
Reviewed-on: http://git-master/r/344119
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Harry Hong <hhong@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
drivers/mmc/host/sdhci-tegra.c
drivers/mmc/host/sdhci.c