msm: peripheral-reset-8960: Cleanup initialization function
Reorganize the initialization such that:
- Code is shared for initializing PIL for the three Q6
- A failure to initialize PIL for one subsystem does not prevent
previously initialized ones from working
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-msm8960-regulator.c b/arch/arm/mach-msm/board-msm8960-regulator.c
index d4b6643..7e33c28 100644
--- a/arch/arm/mach-msm/board-msm8960-regulator.c
+++ b/arch/arm/mach-msm/board-msm8960-regulator.c
@@ -115,15 +115,15 @@
};
VREG_CONSUMERS(L26) = {
REGULATOR_SUPPLY("8921_l26", NULL),
- REGULATOR_SUPPLY("lpass_q6", NULL),
+ REGULATOR_SUPPLY("q6_lpass", NULL),
};
VREG_CONSUMERS(L27) = {
REGULATOR_SUPPLY("8921_l27", NULL),
- REGULATOR_SUPPLY("modem_sw_q6", NULL),
+ REGULATOR_SUPPLY("q6_modem_sw", NULL),
};
VREG_CONSUMERS(L28) = {
REGULATOR_SUPPLY("8921_l28", NULL),
- REGULATOR_SUPPLY("modem_fw_q6", NULL),
+ REGULATOR_SUPPLY("q6_modem_fw", NULL),
};
VREG_CONSUMERS(L29) = {
REGULATOR_SUPPLY("8921_l29", NULL),