mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
mmc: Add MMC clock scaling support for sdhci-msm layer
Add the clock scaling support for SD card in the sdhci-msm layger. Change-Id: I17a279bea4ee589121785006e1887a6f39e3ce6a Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
This commit is contained in:
parent
c494419327
commit
13cb7ecffb
2 changed files with 11 additions and 0 deletions
|
|
@ -1019,3 +1019,11 @@ config MMC_SDHCI_AM654
|
|||
If you have a controller with this interface, say Y or M here.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config SDC_QTI
|
||||
tristate "Enable QTI specific code in MMC upstream driver"
|
||||
depends on QGKI && MMC_SDHCI_MSM
|
||||
default n
|
||||
help
|
||||
This configuration flag allows adding QTI code in
|
||||
MMC upstream driver.
|
||||
|
|
|
|||
|
|
@ -3217,6 +3217,9 @@ static int sdhci_msm_probe(struct platform_device *pdev)
|
|||
|
||||
msm_host->pltfm_init_done = true;
|
||||
|
||||
#if defined(CONFIG_SDC_QTI)
|
||||
msm_host->mmc->caps2 |= MMC_CAP2_CLK_SCALE;
|
||||
#endif
|
||||
pm_runtime_get_noresume(&pdev->dev);
|
||||
pm_runtime_set_active(&pdev->dev);
|
||||
pm_runtime_enable(&pdev->dev);
|
||||
|
|
|
|||
Loading…
Reference in a new issue