]> git.karo-electronics.de Git - linux-beck.git/commit
mmc: sdhci: Set SDHCI_POWER_ON with external vmmc
authorTim Kryger <tim.kryger@gmail.com>
Wed, 14 Jan 2015 06:24:12 +0000 (07:24 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 14 Jan 2015 08:47:19 +0000 (09:47 +0100)
commit3cbc6123a93dc91b99b58f7ea37d267fe93e1cad
tree743f0cce9086cc25ff6b71d134d0cd51319f85f0
parent188c901941efd43cbf21e8f4f9e9a276536b989c
mmc: sdhci: Set SDHCI_POWER_ON with external vmmc

Host controllers lacking the required internal vmmc regulator may still
follow the spec with regard to the LSB of SDHCI_POWER_CONTROL.  Set the
SDHCI_POWER_ON bit when vmmc is enabled to encourage the controller to
to drive CMD, DAT, SDCLK.

This fixes a regression observed on some Qualcomm and Nvidia boards
caused by 5222161 mmc: sdhci: Improve external VDD regulator support.

Fixes: 52221610dd84 (mmc: sdhci: Improve external VDD regulator support)
Signed-off-by: Tim Kryger <tim.kryger@gmail.com>
Tested-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c