mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
rhode: solve the problem of slow power-off of front dvdd
Details: according to datasheet,write 0x8f to 0x02 RDIS register ,each ldo regulator output discharge register enable control. Change-Id: I05e5c21fb428138993a9a29a105aa4e71819ff3b Signed-off-by: qiaopf1 <qiaopf1@motorola.com> Reviewed-on: https://gerrit.mot.com/2188607 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Zhichao Chen <chenzc2@motorola.com> Reviewed-by: Zhenxin Xi <xizx@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
2093641e5d
commit
673504b808
1 changed files with 7 additions and 1 deletions
|
|
@ -218,7 +218,13 @@ static int wl2866d_regulator_init(struct wl2866d *chip)
|
|||
"Disable all LDO output failed!!!\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* Enable all ldo discharge by default */
|
||||
ret = regmap_write(chip->regmap, WL2866D_DISCHARGE_RESISTORS, 0x8f);
|
||||
if (ret < 0) {
|
||||
dev_err(chip->dev,
|
||||
"Enable LDO discharge failed!!!\n");
|
||||
return ret;
|
||||
}
|
||||
for (id = 0; id < WL2866D_MAX_REGULATORS; id++) {
|
||||
chip->rdesc[id] = &wl2866d_regls_desc[id];
|
||||
rdesc = chip->rdesc[id];
|
||||
|
|
|
|||
Loading…
Reference in a new issue