usb: pd: send Not Supported message when operating in 3.0
PD 3.0 requires the Not Supported message to be sent after
receiving a message that is not supported. Add this to both
PE_SNK_READY and PE_SRC_READY states when there is an
unhandled message. If 3.0 sink-only mode is enabled, also
disallow PR_SWAP, VCONN_SWAP, and GET_SOURCE_CAP, so that the
state machine can fall through to responding with Not Supported.
Change-Id: If28bfcb1a483fcdb0c398c66d26fe7b1607b461a
Signed-off-by:
Jack Pham <jackp@codeaurora.org>
Loading
Please register or sign in to comment