aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorBadhri Jagan Sridharan <[email protected]>2021-04-07 13:07:18 -0700
committerGreg Kroah-Hartman <[email protected]>2021-04-09 15:21:24 +0200
commitf3dedafb8263ca4791a92a23f5230068f5bde008 (patch)
treee885b564eb66ea417921a206a6ed6ef8c92021fe /tools/perf/scripts/python/bin/stackcollapse-report
parentb46b1ef7b0da5c9257b98a0d1d658422e7851783 (diff)
usb: typec: tcpm: Address incorrect values of tcpm psy for fixed supply
tcpm_pd_build_request overwrites current_limit and supply_voltage even before port partner accepts the requests. This leaves stale values in current_limit and supply_voltage that get exported by "tcpm-source-psy-". Solving this problem by caching the request values of current limit/supply voltage in req_current_limit and req_supply_voltage. current_limit/supply_voltage gets updated once the port partner accepts the request. Fixes: f2a8aa053c176 ("typec: tcpm: Represent source supply through power_supply") Signed-off-by: Badhri Jagan Sridharan <[email protected]> Cc: stable <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Reviewed-by: Adam Thomson <[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 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions