WSL2-Linux-Kernel/drivers/usb/typec
Linyu Yuan 269c917837 usb: typec: ucsi: Acknowledge the GET_ERROR_STATUS command completion
commit a7dc438b5e upstream.

We found PPM will not send any notification after it report error status
and OPM issue GET_ERROR_STATUS command to read the details about error.

According UCSI spec, PPM may clear the Error Status Data after the OPM
has acknowledged the command completion.

This change add operation to acknowledge the command completion from PPM.

Fixes: bdc62f2bae (usb: typec: ucsi: Simplified registration and I/O API)
Cc: <stable@vger.kernel.org> # 5.10
Signed-off-by: Jack Pham <quic_jackp@quicinc.com>
Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com>
Link: https://lore.kernel.org/r/1658817949-4632-1-git-send-email-quic_linyyuan@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-08-17 14:22:58 +02:00
..
altmodes
mux
tcpm usb: typec: wcove: Drop wrong dependency to INTEL_SOC_PMIC 2022-06-29 09:03:26 +02:00
tipd
ucsi usb: typec: ucsi: Acknowledge the GET_ERROR_STATUS command completion 2022-08-17 14:22:58 +02:00
Kconfig
Makefile
bus.c
bus.h
class.c usb: typec: add missing uevent when partner support PD 2022-07-21 21:24:42 +02:00
class.h
hd3ss3220.c
mux.c
mux.h
port-mapper.c
qcom-pmic-typec.c
stusb160x.c