diff options
author | Kyle Tso <kyletso@google.com> | 2021-05-23 04:58:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-24 16:14:25 +0300 |
commit | a20dcf53ea9836387b229c4878f9559cf1b55b71 (patch) | |
tree | ec0ef3dcfd2424651da75543cab27a46452d2e58 /net/key | |
parent | 0bc3ee92880d910a1d100b73a781904f359e1f1c (diff) | |
download | linux-a20dcf53ea9836387b229c4878f9559cf1b55b71.tar.xz |
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 <stable@vger.kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Kyle Tso <kyletso@google.com>
Link: https://lore.kernel.org/r/20210523015855.1785484-3-kyletso@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions