From: Philip Rakity Date: Mon, 28 May 2012 01:36:44 +0000 (-0700) Subject: mmc: sdhci: if MAX_CURRENT is 0, try getting current from regulator X-Git-Tag: v3.6-rc1~153^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bad37e1ac6b1a73ed30702b24a45c27c4f53aada;p=pandora-kernel.git 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 Signed-off-by: Mark F. Brown Reviewed-by: Aaron Lu Signed-off-by: Chris Ball --- Reading git-diff-tree failed