regulator: cpr3-regulator: wait for SPM availability for CPRh controllers
CPRh controllers communicate voltages to the PMIC via the SAW AVS interface similar to other controllers supporting hardware closed-loop operation. Ensure the SPM driver has probed and enabled the SAW AVS system. Change-Id: Ide2c4500cfdd0a9c684329ab5f7ac0603e4fc199 CRs-Fixed: 995686 Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
This commit is contained in:
parent
668a772675
commit
ed6468ea4a
1 changed files with 1 additions and 2 deletions
|
@ -5839,8 +5839,7 @@ int cpr3_regulator_register(struct platform_device *pdev,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctrl->supports_hw_closed_loop && ctrl->ctrl_type !=
|
if (ctrl->supports_hw_closed_loop) {
|
||||||
CPR_CTRL_TYPE_CPRH) {
|
|
||||||
rc = msm_spm_probe_done();
|
rc = msm_spm_probe_done();
|
||||||
if (rc) {
|
if (rc) {
|
||||||
if (rc != -EPROBE_DEFER)
|
if (rc != -EPROBE_DEFER)
|
||||||
|
|
Loading…
Add table
Reference in a new issue