From: NeilBrown Date: Wed, 8 Aug 2012 04:06:00 +0000 (-0400) Subject: mmc: omap_hsmmc: Handle failure of regulator_get better. X-Git-Tag: v3.7-rc1~69^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fdc90fb8fb752d4d8d2602115cf4bd071374068;p=pandora-kernel.git mmc: omap_hsmmc: Handle failure of regulator_get better. 1/ If regulator_get fails, return an error. This is important if it failed with EPROBE_DEFER, as the probe needs to be deferred. 2/ Don't set .set_power until the regulator has been found, or the deferred probe will not bother calling omap_hsmmc_reg_get(). Signed-off-by: NeilBrown Acked-by: Rajendra Nayak Signed-off-by: Chris Ball --- Reading git-diff-tree failed