diff options
author | 2023-09-06 01:48:15 -0700 | |
---|---|---|
committer | 2023-09-11 20:15:43 +0200 | |
commit | 779873ec81306d2c40c459fa7c91a5d40655510d (patch) | |
tree | 99f039451efc73682633b2e6856feb3a04385808 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | power: supply: ab8500: Set typing and props (diff) | |
download | wireguard-linux-779873ec81306d2c40c459fa7c91a5d40655510d.tar.xz wireguard-linux-779873ec81306d2c40c459fa7c91a5d40655510d.zip |
power: supply: mt6370: Fix missing error code in mt6370_chg_toggle_cfo()
When mt6370_chg_field_get() suceeds, ret is set to zero and returning
zero when flash led is still in strobe mode looks incorrect.
Fixes: 233cb8a47d65 ("power: supply: mt6370: Add MediaTek MT6370 charger driver")
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: ChiaEn Wu <chiaen_wu@richtek.com>
Link: https://lore.kernel.org/r/20230906084815.2827930-1-harshit.m.mogalapalli@oracle.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions