linux-IllusionX/drivers/usb/typec
Jonathan Marek 40ca0037b4 usb: typec: qcom-pmic-typec: fix sink status being overwritten with RP_DEF
commit ffe85c24d7ca5de7d57690c0ab194b3838674935 upstream.

This line is overwriting the result of the above switch-case.

This fixes the tcpm driver getting stuck in a "Sink TX No Go" loop.

Fixes: a4422ff221 ("usb: typec: qcom: Add Qualcomm PMIC Type-C driver")
Cc: stable <stable@kernel.org>
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Acked-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241005144146.2345-1-jonathan@marek.ca
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-10-22 15:51:32 +02:00
..
altmodes
mux
tcpm
tipd
ucsi
anx7411.c
bus.c
bus.h
class.c
class.h
hd3ss3220.c
Kconfig
Makefile
mux.c
mux.h
pd.c
pd.h
port-mapper.c
retimer.c
retimer.h
rt1719.c
stusb160x.c
wusb3801.c