mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
regulator: rk806: Solve PWRCTL2/3 level inconsistency in the suspend/resume
Delete the code that forcibly modifies the PWRCTRL2 and PWRCTRL3 function. Signed-off-by: shengfei Xu <xsf@rock-chips.com> Change-Id: I25426e2a0d1794e1d52d87e8e157983b4e4b1021
This commit is contained in:
@@ -1169,8 +1169,6 @@ static int __maybe_unused rk806_suspend(struct device *dev)
|
||||
int i;
|
||||
|
||||
rk806_field_write(rk806, PWRCTRL1_FUN, PWRCTRL_NULL_FUN);
|
||||
rk806_field_write(rk806, PWRCTRL2_FUN, PWRCTRL_NULL_FUN);
|
||||
rk806_field_write(rk806, PWRCTRL3_FUN, PWRCTRL_NULL_FUN);
|
||||
|
||||
for (i = RK806_ID_DCDC1; i < RK806_ID_END; i++)
|
||||
rk806_field_write(rk806, BUCK1_VSEL_CTR_SEL + i, CTR_BY_NO_EFFECT);
|
||||
|
||||
Reference in New Issue
Block a user