summaryrefslogtreecommitdiffstats
path: root/drivers/usb/c67x00
diff options
context:
space:
mode:
authorPrashant Malani <pmalani@chromium.org>2023-01-11 02:05:43 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-17 17:07:25 +0100
commit85af23df903ee14bfcba60c53e4f3b640f2310f8 (patch)
tree74d1d575b9947fe7c51a8cf1af447a0da8306571 /drivers/usb/c67x00
parent9682b41e52cc9f42f5c33caf410464392adaef04 (diff)
downloadlinux-stable-85af23df903ee14bfcba60c53e4f3b640f2310f8.tar.gz
linux-stable-85af23df903ee14bfcba60c53e4f3b640f2310f8.tar.bz2
linux-stable-85af23df903ee14bfcba60c53e4f3b640f2310f8.zip
usb: typec: altmodes/displayport: Use proper macro for pin assignment check
While looking at the DP configuration VDO to determine the peripheral configuration, the spec (Table 8-5: DisplayPort Configurations, VESA DisplayPort Alt Mode Standard v2.0) lists the options as "UFP_U as a DP Source/Sink Device". So, use the correct macro while performing this check. Effectively it's the same as the existing code, but the proposed macro describes the state a little better. No functional changes introduced. Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Prashant Malani <pmalani@chromium.org> Reviewed-by: Benson Leung <bleung@chromium.org> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20230111020546.3384569-3-pmalani@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/c67x00')
0 files changed, 0 insertions, 0 deletions