Commit eaa5589f authored by Linyu Yuan's avatar Linyu Yuan Committed by Vamsi Krishna Lanka
Browse files

FROMGIT: usb: typec: ucsi: Acknowledge the GET_ERROR_STATUS command completion



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: bdc62f2b (usb: typec: ucsi: Simplified registration and I/O API)
Cc: <stable@vger.kernel.org> # 5.10
Signed-off-by: default avatarJack Pham <quic_jackp@quicinc.com>
Signed-off-by: default avatarLinyu Yuan <quic_linyyuan@quicinc.com>
Link: https://lore.kernel.org/r/1658817949-4632-1-git-send-email-quic_linyyuan@quicinc.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

(cherry picked from commit a7dc438b
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git

 usb-next)

Bug: 241140735
Change-Id: I8447d618200163c6819f93f8d8b5b7f2bece5e13
Signed-off-by: default avatarMayank Rana <quic_mrana@quicinc.com>
Signed-off-by: default avatarVamsi Krishna Lanka <quic_vamslank@quicinc.com>
parent c5570718
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment