mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
mmc: dw_mmc: Enable low-power mode for the card clock.
Setting this bit in the clock enable register will stop the clock when the card is in the IDLE state. Signed-off-by: Will Newton <[email protected]> Signed-off-by: Chris Ball <[email protected]>
This commit is contained in:
parent
dd6c4b9807
commit
aadb9f4110
1 changed files with 2 additions and 1 deletions
|
|
@ -562,7 +562,8 @@ static void dw_mci_setup_bus(struct dw_mci_slot *slot)
|
|||
SDMMC_CMD_UPD_CLK | SDMMC_CMD_PRV_DAT_WAIT, 0);
|
||||
|
||||
/* enable clock */
|
||||
mci_writel(host, CLKENA, SDMMC_CLKEN_ENABLE);
|
||||
mci_writel(host, CLKENA, SDMMC_CLKEN_ENABLE |
|
||||
SDMMC_CLKEN_LOW_PWR);
|
||||
|
||||
/* inform CIU */
|
||||
mci_send_cmd(slot,
|
||||
|
|
|
|||
Loading…
Reference in a new issue