diff options
| author | Hans de Goede <[email protected]> | 2024-11-16 20:36:47 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2024-12-18 23:35:30 +0000 |
| commit | b3ded6072c5600704cfa3ce3a8dc8718d34bda66 (patch) | |
| tree | 97008b36a780b1c5be788ef4fdfb423afdb9984d /drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c | |
| parent | power: supply: cros_charge-control: hide start threshold on v2 cmd (diff) | |
| download | kernel-b3ded6072c5600704cfa3ce3a8dc8718d34bda66.tar.gz kernel-b3ded6072c5600704cfa3ce3a8dc8718d34bda66.zip | |
power: supply: bq24190: Fix BQ24296 Vbus regulator support
There are 2 issues with bq24296_set_otg_vbus():
1. When writing the OTG_CONFIG bit it uses POC_CHG_CONFIG_SHIFT which
should be POC_OTG_CONFIG_SHIFT.
2. When turning the regulator off it never turns charging back on. Note
this must be done through bq24190_charger_set_charge_type(), to ensure
that the charge_type property value of none/trickle/fast is honored.
Resolve both issues to fix BQ24296 Vbus regulator support not working.
Fixes: b150a703b56f ("power: supply: bq24190_charger: Add support for BQ24296")
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c')
0 files changed, 0 insertions, 0 deletions
