diff options
author | ChiYuan Huang <cy_huang@richtek.com> | 2024-09-25 16:32:59 +0800 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-10-16 23:32:51 +0200 |
commit | c46a9ee5c6210682611d3d4276436c23a95e1996 (patch) | |
tree | 2958b143e82da3cd2244d0111f64eb80c6b54162 /drivers/virtio/virtio.c | |
parent | d10ff07dd2b933e3864c592ca932996b07bbf22a (diff) | |
download | lwn-c46a9ee5c6210682611d3d4276436c23a95e1996.tar.gz lwn-c46a9ee5c6210682611d3d4276436c23a95e1996.zip |
power: supply: rt9471: Use IC status regfield to report real charger status
Use IC status regfield to rewrite the 'get_staus' function. The original
one cannot cover some special scenario like as charger OTG or JEITA case.
Fixes: 4a1a5f6781d8 ("power: supply: rt9471: Add Richtek RT9471 charger driver")
Reported-by: Lucas Tsai <lucas_tsai@richtek.com>
Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
Link: https://lore.kernel.org/r/67ba92bb4a9c51d9cafadab30b788a3a2c3048e1.1727252762.git.cy_huang@richtek.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/virtio/virtio.c')
0 files changed, 0 insertions, 0 deletions