summaryrefslogtreecommitdiff
path: root/drivers/mmc/core/sd.c
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@marvell.com>2012-05-28 05:36:44 +0400
committerChris Ball <cjb@laptop.org>2012-07-21 08:02:22 +0400
commitbad37e1ac6b1a73ed30702b24a45c27c4f53aada (patch)
treef296dfee6adbb7c7b781285cd447b3aed53fa0ed /drivers/mmc/core/sd.c
parente480606ad43bb72fd82a9bd99cdcf21829a6e9c0 (diff)
downloadlinux-bad37e1ac6b1a73ed30702b24a45c27c4f53aada.tar.xz
mmc: sdhci: if MAX_CURRENT is 0, try getting current from regulator
The sd host controller spec indicates the the MAX_CURRENT value may be returned as 0. In this case other methods need to be used to return the current. If 0 is returned and there is a regulator, ask the regulator for how much current is available. Signed-off-by: Philip Rakity <prakity@marvell.com> Signed-off-by: Mark F. Brown <mark.brown314@gmail.com> Reviewed-by: Aaron Lu <aaron.lu@amd.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core/sd.c')
0 files changed, 0 insertions, 0 deletions