diff options
| author | Fabricio Akio <fabricioakio@gmail.com> | 2026-10-02 22:29:32 -0300 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2026-10-17 23:26:15 +0200 |
| commit | 1fba787142011145e1071cee9448b3677fb2323d (patch) | |
| tree | e5bc6d59b59470b10aaecdb33dc502cb7dc32b84 /rust/kernel/alloc/allocator | |
| parent | 36b0abe904ac9cbdce6161d9c7c0bcac963bb3fe (diff) | |
power: supply: qcom_smbx: set the charge enable after software control
The init sequence sets CHARGING_ENABLE_CMD before CHGR_CFG2 selects
software control of the charge enable.
The Motorola Moto X4's bootloader leaves the charger watchdog armed to
disable charging when it bites, which it does after a few minutes in
fastboot. Charging then stays disabled in the next boot until the cable
is replugged. Setting the command after CHGR_CFG2 re-enables it.
Fixes: 8648aeb5d7b7 ("power: supply: add Qualcomm PMI8998 SMB2 Charger driver")
Cc: stable@vger.kernel.org
Signed-off-by: Fabricio Akio <fabricioakio@gmail.com>
Link: https://patch.msgid.link/20261002-qcom-smbx-enable-order-v1-1-7df92bd809db@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions
