diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-02-15 13:43:04 +0100 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-09-14 18:09:14 +0200 |
commit | cba320408d631422fef0ad8407954fb9d6f8f650 (patch) | |
tree | c0cf17ba12dfb20d0d05a5e7889ea395fdc38671 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
parent | cbcdfbf5a6cd66e47e5ee5d49c4c5a27a07ba082 (diff) |
power: supply: rt9467: Fix rt9467_run_aicl()
It is spurious to bail-out on a wait_for_completion_timeout() call that
does NOT timeout.
Reverse the logic to return -ETIMEDOUT instead, in case of tiemout.
Fixes: 6f7f70e3a8dd ("power: supply: rt9467: Add Richtek RT9467 charger driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: ChiYuan Huang <cy_huang@richtek.com>
Link: https://lore.kernel.org/r/2ed01020fa8a135c36dbaa871095ded47d926507.1676464968.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions