diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-04-03 15:06:08 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-04-11 23:07:11 +0530 |
commit | a9f17d0c0778dd971dc9770fa0a2085a41d8c5e4 (patch) | |
tree | a3059b2a2eaddaf3e93340202c4db2ca05873db8 /net/caif/cfctrl.c | |
parent | 5c8402c4db45dd55c2c93c8d730f5dfa7c78a702 (diff) | |
download | linux-a9f17d0c0778dd971dc9770fa0a2085a41d8c5e4.tar.bz2 |
phy: ti: tusb1210: Fix an error handling path in tusb1210_probe()
tusb1210_probe_charger_detect() must be undone by a corresponding
tusb1210_remove_charger_detect() in the error handling path, as already
done in the remove function.
Fixes: 48969a5623ed ("phy: ti: tusb1210: Add charger detection")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/07c4926c42243cedb3b6067a241bb486fdda01b5.1648991162.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'net/caif/cfctrl.c')
0 files changed, 0 insertions, 0 deletions