diff options
| author | Xu Rao <raoxu@uniontech.com> | 2026-06-16 16:54:39 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-10 15:13:50 +0200 |
| commit | 29741ca40b7b780ba14c4c3ffef190f908864fe9 (patch) | |
| tree | cd1ab2e340a7b1c1ed03b4bc168c4c3b3f5556ce /tools/perf/scripts/python/stackcollapse.py | |
| parent | f63edb54d8f738f9c21e2068c777ae1c097df6b7 (diff) | |
usb: typec: tcpm: fix EPR AVS APDO maximum voltage decoding
pdo_epr_avs_apdo_max_voltage_mv() extracts the EPR AVS minimum-voltage
field instead of the maximum-voltage field. As a result, an EPR AVS APDO
with different minimum and maximum voltages is decoded as having
identical limits. The currently visible effect is that
tcpm_log_source_caps() reports a min-min voltage range.
Extract PDO_EPR_AVS_APDO_MAX_VOLT in the maximum-voltage accessor.
Fixes: f82890c98f3e ("tcpm: Parse and log AVS APDO")
Signed-off-by: Xu Rao <raoxu@uniontech.com>
Link: https://patch.msgid.link/48301FCEC9F3CA14+20260616085439.987664-1-raoxu@uniontech.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
