Philip Rakity bad37e1ac6 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>
2012-07-21 00:02:22 -04:00
..
2012-02-03 13:33:05 +01:00
2011-12-07 22:02:05 +00:00
2012-04-22 11:17:25 -04:00
2009-03-24 21:30:03 +01:00
2012-02-05 17:14:47 +01:00
2009-10-01 16:11:15 -07:00
2012-05-15 13:29:42 +02:00
2012-06-20 14:39:36 -07:00
2012-05-25 08:23:32 -07:00