diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2021-07-31 20:38:38 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2021-08-16 18:57:02 +0300 |
commit | efe2175478d5237949e33c84d9a722fc084b218c (patch) | |
tree | 1b7fb09b32517b39f6ef80c852c4c57b200e9326 /scripts/stackusage | |
parent | 17e7bc532cd540d0e6e2fa1af19faf74ba252051 (diff) | |
download | linux-efe2175478d5237949e33c84d9a722fc084b218c.tar.xz |
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 <digetx@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions