mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
c413767e66
There is a bug in the sink PDO search code when trying to select
a PPS APDO. The current code actually sets the starting index for
searching to whatever value 'i' is, rather than choosing index 1
to avoid the first PDO (always 5V fixed). As a result, for sources
which support PPS but whose PPS APDO index does not match with the
supporting sink PPS APDO index for the platform, no valid PPS APDO
will be found so this feature will not be permitted.
Sadly in testing, both Source and Sink capabilities matched up and
this was missed. Code is now updated to correctly set the start
index to 1, and testing with additional PPS capable sources show
this to work as expected.
Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Fixes:
|
||
---|---|---|
.. | ||
fusb302 | ||
mux | ||
ucsi | ||
class.c | ||
Kconfig | ||
Makefile | ||
mux.c | ||
tcpm.c | ||
tps6598x.c | ||
typec_wcove.c |