mmc: host: sdhci: tegra: Support runtime enable/disable of clock
authorGreg Meiste <w30289@motorola.com>
Thu, 9 Jun 2011 22:41:53 +0000 (15:41 -0700)
committerTodd Poynor <toddpoynor@google.com>
Thu, 9 Jun 2011 22:47:02 +0000 (15:47 -0700)
commit4e23026659afa907f00e24c6061ca2bd052d772d
treeba809c17fbd9781be4879a1f533ad4158033016e
parente02917f693cfc8cd043541fbc1a0fef55854c508
mmc: host: sdhci: tegra: 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

Change-Id: I1b611622ef0545a3309214e94bbc76481aa3a721
Signed-off-by: Greg Meiste <w30289@motorola.com>
Conflicts:

drivers/mmc/host/sdhci-tegra.c

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