diff options
| author | Chris Morgan <[email protected]> | 2025-01-31 23:14:51 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2025-02-03 11:41:18 +0000 |
| commit | 98380110bd48fbfd6a798ee11fffff893d36062c (patch) | |
| tree | c02f397e7c76c0757046ab1ce11a5389e1968b29 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | power: supply: core: Fix extension related lockdep warning (diff) | |
| download | kernel-98380110bd48fbfd6a798ee11fffff893d36062c.tar.gz kernel-98380110bd48fbfd6a798ee11fffff893d36062c.zip | |
power: supply: axp20x_battery: Fix fault handling for AXP717
Correct the fault handling for the AXP717 by changing the i2c write
from regmap_update_bits() to regmap_write_bits(). The update bits
function does not work properly on a RW1C register where we must
write a 1 back to an existing register to clear it.
Additionally, as part of this testing I confirmed the behavior of
errors reappearing, so remove comment about assumptions.
Fixes: 6625767049c2 ("power: supply: axp20x_battery: add support for AXP717")
Signed-off-by: Chris Morgan <[email protected]>
Reviewed-by: Chen-Yu Tsai <[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_ras.c')
0 files changed, 0 insertions, 0 deletions
