Commit 0e88400d authored by Kyle Tso's avatar Kyle Tso Committed by Treehugger Robot
Browse files

UPSTREAM: usb: typec: tcpm: Correct port source pdo array in pd_set callback



In tcpm_pd_set, the array of port source capabilities is port->src_pdo,
not port->snk_pdo.

Fixes: cd099cde ("usb: typec: tcpm: Support multiple capabilities")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarKyle Tso <kyletso@google.com>
Acked-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240311144500.3694849-1-kyletso@google.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 206108037
(cherry picked from commit 893cd946)
Change-Id: I471747b140e22ba6a3ca9eaa54e18ac995395a2d
Signed-off-by: default avatarKyle Tso <kyletso@google.com>
parent 3ca42715
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment