summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/ushc.c
diff options
context:
space:
mode:
authorRomain Izard <romain.izard.pro@gmail.com>2017-03-09 16:18:20 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2017-03-16 15:24:28 +0100
commit2ce0c7b65505e0d915e99389cced45b478dc935d (patch)
tree223dc5e190c84ccf0e6876595713b06f4c0295f7 /drivers/mmc/host/ushc.c
parentmmc: core: mmc_blk_rw_cmd_err - remove unused variable (diff)
downloadlinux-2ce0c7b65505e0d915e99389cced45b478dc935d.tar.xz
linux-2ce0c7b65505e0d915e99389cced45b478dc935d.zip
mmc: sdhci-of-at91: Support external regulators
The SDHCI controller in the SAMA5D2 chip requires a valid voltage set in the power control register, otherwise commands will fail with a timeout error. When using the regulator framework to specify the regulator used by the mmc device, the voltage is not configured, and it is not possible to use the connected device. Implement a custom 'set_power' function for this specific hardware, that configures the voltage in the register in all cases. Signed-off-by: Romain Izard <romain.izard.pro@gmail.com> Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com> Cc: stable@vger.kernel.org #4.9+ Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/ushc.c')
0 files changed, 0 insertions, 0 deletions