diff options
author | Philip Rakity <[email protected]> | 2012-05-27 18:36:44 -0700 |
---|---|---|
committer | Chris Ball <[email protected]> | 2012-07-21 00:02:22 -0400 |
commit | bad37e1ac6b1a73ed30702b24a45c27c4f53aada (patch) | |
tree | f296dfee6adbb7c7b781285cd447b3aed53fa0ed /tools/perf/util/trace-event-scripting.c | |
parent | e480606ad43bb72fd82a9bd99cdcf21829a6e9c0 (diff) |
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 <[email protected]>
Signed-off-by: Mark F. Brown <[email protected]>
Reviewed-by: Aaron Lu <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions