diff options
author | NeilBrown <neilb@suse.de> | 2012-08-08 04:06:00 (GMT) |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-09-04 17:58:16 (GMT) |
commit | 1fdc90fb8fb752d4d8d2602115cf4bd071374068 (patch) | |
tree | 77eff86eab3a1b35e4b1e48cb74b43b0dea8b1c2 /drivers/tty/n_tracesink.h | |
parent | 5fdb4505f65227c127092772ccf9d460d69f4bc2 (diff) | |
download | linux-fsl-qoriq-1fdc90fb8fb752d4d8d2602115cf4bd071374068.tar.xz |
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>
Diffstat (limited to 'drivers/tty/n_tracesink.h')
0 files changed, 0 insertions, 0 deletions