From: Philip Rakity Date: Mon, 28 May 2012 01:36:33 +0000 (-0700) Subject: mmc: sdhci: only set 200mA support for 1.8v if 200mA is available X-Git-Tag: v3.6-rc1~153^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aa6770000bafa65c17cf44b6619d328d4fc79b3;p=pandora-kernel.git mmc: sdhci: only set 200mA support for 1.8v if 200mA is available max_current_caps can return 0 if not available from the sd controller. If no regulator is present or the regulator specifies a current less then 200ma, we no longer still set the 200mA caps bit anyway. Signed-off-by: Philip Rakity Reviewed-by: Aaron Lu Signed-off-by: Chris Ball --- Reading git-diff-tree failed