diff options
author | 2025-05-13 21:08:34 +0800 | |
---|---|---|
committer | 2025-05-21 13:07:00 +0200 | |
commit | f9bd09ef2c04104a2be718fa8fc3939bb0ba1299 (patch) | |
tree | 511379485198880351596f1610fe904c0c53c65e /scripts/lib/kdoc/kdoc_files.py | |
parent | usb: typec: tcpm: move tcpm_queue_vdm_unlocked to asynchronous work (diff) | |
download | linux-rng-f9bd09ef2c04104a2be718fa8fc3939bb0ba1299.tar.xz linux-rng-f9bd09ef2c04104a2be718fa8fc3939bb0ba1299.zip |
usb: typec: tcpm: Use configured PD revision for negotiation
Initialize negotiated_rev and negotiated_rev_prime based on the port's
configured PD revision (rev_major) rather than always defaulting to
PD_MAX_REV. This ensures ports start PD communication using their
appropriate revision level.
This allows proper communication with devices that require specific
PD revision levels, especially for the hardware designed for PD 1.0
or 2.0 specifications.
Signed-off-by: Cosmo Chou <chou.cosmo@gmail.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Badhri Jagan Sridharan <badhri@google.com>
Link: https://lore.kernel.org/r/20250513130834.1612602-1-chou.cosmo@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions