mmc: host: sdhci: Support runtime enable/disable of clock
authorGreg Meiste <w30289@motorola.com>
Thu, 9 Jun 2011 17:37:34 +0000 (10:37 -0700)
committerTodd Poynor <toddpoynor@google.com>
Thu, 9 Jun 2011 22:29:24 +0000 (15:29 -0700)
commitaff0e8a8fe0e05b33785f2d0fd19f1e108c41142
treebe88f02f284dad28366b4a633705a0de6a57cf16
parent64434eca54499db77943c59621d6413cfacc1654
mmc: host: sdhci: Support runtime enable/disable of clock

Currently the SD card clock is running any time the AP is not in
LP0. This patch allows the clock to only be enabled when the card
is being accessed.

Based on an nVidia patch:
http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=commit;h=8c0f23b7e65ebdb6d1c160517e9ba509b16ec83f

Conflicts:

drivers/mmc/host/sdhci.c

Change-Id: Id188a783ca9ce7046bf2ca526cafcd91a6fab507
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h