diff options
author | Prashant Malani <pmalani@chromium.org> | 2023-01-11 05:05:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-17 19:07:25 +0300 |
commit | 582836e3cfab4faafbdc93bbec96fce036a08ee1 (patch) | |
tree | 95be31f8fae143530a358b0ff0ba622493207b8d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ce405d561b020e5a46340eb5146805a625dcacee (diff) | |
download | linux-582836e3cfab4faafbdc93bbec96fce036a08ee1.tar.xz |
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: stable@vger.kernel.org
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-1-pmalani@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions