diff options
| author | Andrei Kuchynski <akuchynski@chromium.org> | 2026-06-26 14:27:02 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-08 17:07:31 +0200 |
| commit | ef14df36701cca2d272c18450d12de9d141e5beb (patch) | |
| tree | 421de415d6be47c5445587e9b9a354f169218db8 /tools/perf/scripts/python/flamegraph.py | |
| parent | 07f0d51a8ea57b0d29c35fd0c81f4f452ff60f22 (diff) | |
usb: typec: displayport: Check cable altmode support
Update the probe function to utilize the new
typec_cable_altmode_unsupported() helper. If the cable doesn't support
DisplayPort altmode, don't initialize altmode_ops and prevent altmode
from being activated.
A captive cable shouldn't be checked; it may not provide discoverable
capability information, but it is inherently designed to support the
device's requirements.
Signed-off-by: Andrei Kuchynski <akuchynski@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://patch.msgid.link/20260626142702.1941182-4-akuchynski@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
