aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBadhri Jagan Sridharan <Badhri@google.com>2017-08-10 21:15:42 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-18 15:57:16 -0700
commitb46a9c9095bf1652a591149b6febe5e5413a60b3 (patch)
tree0287b234ec56ef965bcef8188f076460d5dc021f /tools/perf/scripts/python/export-to-postgresql.py
parentstaging: typec: tcpm: Set default state after error recovery based on port type (diff)
downloadwireguard-linux-b46a9c9095bf1652a591149b6febe5e5413a60b3.tar.xz
wireguard-linux-b46a9c9095bf1652a591149b6febe5e5413a60b3.zip
staging: typec: tcpm: Select default state based on port type
tcpm_default_state wasn't considering the port type when determining the default role. This change makes tcpm_default_state to consider port type as well. tcpm_default_state would return the following based on the port type: TYPEC_PORT_UFP - SNK_UNATTACHED TYPEC_PORT_DFP - SRC_UNATTACHED TYPEC_PORT_DRP - based on the preferred_role setting Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com> [groeck: Reworded description; minor formatting changes] Signed-off-by: Guenter Roeck <linux@roeck-us.net> 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