commit | 1fdc90fb8fb752d4d8d2602115cf4bd071374068 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Wed Aug 08 00:06:00 2012 -0400 |
committer | Chris Ball <cjb@laptop.org> | Tue Sep 04 13:58:16 2012 -0400 |
tree | 77eff86eab3a1b35e4b1e48cb74b43b0dea8b1c2 | |
parent | 5fdb4505f65227c127092772ccf9d460d69f4bc2 [diff] |
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 <neilb@suse.de> Acked-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Chris Ball <cjb@laptop.org>