diff options
| author | NeilBrown <[email protected]> | 2012-08-08 00:06:00 -0400 |
|---|---|---|
| committer | Chris Ball <[email protected]> | 2012-09-04 13:58:16 -0400 |
| commit | 1fdc90fb8fb752d4d8d2602115cf4bd071374068 (patch) | |
| tree | 77eff86eab3a1b35e4b1e48cb74b43b0dea8b1c2 /scripts | |
| 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 <[email protected]>
Acked-by: Rajendra Nayak <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions