diff options
author | Adam Thomson <[email protected]> | 2018-09-21 16:04:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-10-02 12:05:30 -0700 |
commit | 1b6af2f58c2b1522e0804b150ca95e50a9e80ea7 (patch) | |
tree | 650d9bfe23eaeb90d953ab6a45918f19b95ca618 /scripts/bpf_helpers_doc.py | |
parent | e0a2e73e501c77037c8756137e87b12c7c3c9793 (diff) |
usb: typec: tcpm: Fix APDO PPS order checking to be based on voltage
Current code mistakenly checks against max current to determine
order but this should be max voltage. This commit fixes the issue
so order is correctly determined, thus avoiding failure based on
a higher voltage PPS APDO having a lower maximum current output,
which is actually valid.
Fixes: 2eadc33f40d4 ("typec: tcpm: Add core support for sink side PPS")
Cc: <[email protected]>
Signed-off-by: Adam Thomson <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions