aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorK V, Abhilash <[email protected]>2020-04-23 16:20:54 +0300
committerGreg Kroah-Hartman <[email protected]>2020-04-23 15:33:33 +0200
commita0d4618788f26bd6f31f80a00f922f1c4bc66457 (patch)
tree15c798ce16377195a8a13e22d0f6a2831b893cbe /tools/perf/scripts/python
parent91813ef8da12fad01ee4aadd173504feefe60293 (diff)
usb: typec: ucsi: Workaround for missed op_mode change
EC firmware on Dell XPS & Latitude series does not set "Power Operation Mode Change" bit in "Connector Status change" field of MESSAGE IN Data while transitioning from type-C current to PD mode. Instead the "Negotiated Power Level Change" bit is set when the "Power Operation Mode" field shows the correct mode (i.e. PD). This patch adds a check for this bit also, to trigger an update of power operation mode in class driver, while handling GET_CONNECTOR_STATUS command. Signed-off-by: K V, Abhilash <[email protected]> Signed-off-by: Heikki Krogerus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions