]> Git Repo - linux.git/commit
usb: typec: tcpm: Respond Not_Supported if no snk_vdo
authorKyle Tso <[email protected]>
Sun, 23 May 2021 01:58:55 +0000 (09:58 +0800)
committerGreg Kroah-Hartman <[email protected]>
Mon, 24 May 2021 13:14:25 +0000 (15:14 +0200)
commita20dcf53ea9836387b229c4878f9559cf1b55b71
treeec0ef3dcfd2424651da75543cab27a46452d2e58
parent0bc3ee92880d910a1d100b73a781904f359e1f1c
usb: typec: tcpm: Respond Not_Supported if no snk_vdo

If snk_vdo is not populated from fwnode, it implies the port does not
support responding to SVDM commands. Not_Supported Message shall be sent
if the contract is in PD3. And for PD2, the port shall ignore the
commands.

Fixes: 193a68011fdc ("staging: typec: tcpm: Respond to Discover Identity commands")
Cc: stable <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Acked-by: Heikki Krogerus <[email protected]>
Signed-off-by: Kyle Tso <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/typec/tcpm/tcpm.c
This page took 0.054437 seconds and 4 git commands to generate.