diff options
author | Prashant Malani <[email protected]> | 2023-01-11 02:05:41 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-01-17 17:07:25 +0100 |
commit | 582836e3cfab4faafbdc93bbec96fce036a08ee1 (patch) | |
tree | 95be31f8fae143530a358b0ff0ba622493207b8d /scripts/gdb/linux/device.py | |
parent | ce405d561b020e5a46340eb5146805a625dcacee (diff) |
usb: typec: altmodes/displayport: Add pin assignment helper
The code to extract a peripheral's currently supported Pin Assignments
is repeated in a couple of locations. Factor it out into a separate
function.
This will also make it easier to add fixes (we only need to update 1
location instead of 2).
Fixes: c1e5c2f0cb8a ("usb: typec: altmodes/displayport: correct pin assignment for UFP receptacles")
Cc: [email protected]
Cc: Heikki Krogerus <[email protected]>
Signed-off-by: Prashant Malani <[email protected]>
Reviewed-by: Benson Leung <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions