aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDmitry Osipenko <[email protected]>2021-07-31 20:38:38 +0300
committerSebastian Reichel <[email protected]>2021-08-16 17:57:02 +0200
commitefe2175478d5237949e33c84d9a722fc084b218c (patch)
tree1b7fb09b32517b39f6ef80c852c4c57b200e9326 /scripts/gdb/linux/utils.py
parent17e7bc532cd540d0e6e2fa1af19faf74ba252051 (diff)
power: supply: smb347-charger: Add missing pin control activation
Pin control needs to be activated by setting the enable bit, otherwise hardware rejects all pin changes. Previously this stayed unnoticed on Nexus 7 because pin control was enabled by default after rebooting from downstream kernel, which uses driver that enables the bit and charger registers are non-volatile until power supply (battery) is disconnected. Configure the pin control enable bit. This fixes the potentially never-enabled charging on devices that use pin control. Signed-off-by: Dmitry Osipenko <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions