diff options
author | ChiYuan Huang <cy_huang@richtek.com> | 2021-07-16 11:55:46 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-07-16 13:55:34 +0100 |
commit | 513d14045a2dad0bf202b7d4c07a2ca2afdba0b4 (patch) | |
tree | 337b631ad28e11a86985c0163473eb89e7049037 /lib/mpi/mpi-sub-ui.c | |
parent | 541ee8f640327f951e7039278057827322231ab0 (diff) |
regulator: rtq6752: fix reg reset behavior
Reg will be reset in below two conditions.
1. 'Enable' pin from H to L.
2. Both PAVDD and NAVDD are all disabled.
And 'Enable' pin also control i2c communication capability.
This patch is to Seperate the if condition in enable/disable callback for
reg cache manipulation.
Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
Link: https://lore.kernel.org/r/1626407746-23156-1-git-send-email-u0084500@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions