OSDN Git Service

host: sdhci: fix current caps when there is no host->vmmc
authorSahitya Tummala <stummala@codeaurora.org>
Fri, 19 Sep 2014 10:13:37 +0000 (15:43 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Thu, 25 Aug 2016 14:12:12 +0000 (07:12 -0700)
commit53688837e03b04dc3d0ad172a7bc62224090aaef
tree0afaf266ade90c8f246a762d68b62eadb14d1e2f
parente97b6a0e0217f7c072fdad6c50673cd7a64348e1
host: sdhci: fix current caps when there is no host->vmmc

When the regulators are not managed by SDHCI host driver (i.e.,
when host->vmmc and host->vmmcq are absent), get the regulator
current capabilities through a new host op get_current_limit().

Change-Id: I097349ad4d2e8ffbafbeb5fe65910894fe909bd6
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h