mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
0be3870f7c
Check the UCSI_CAP_GET_PD_MESSAGE bit before sending GET_PD_MESSAGE to
discover partner and cable identity, check UCSI_CAP_CABLE_DETAILS before
sending GET_CABLE_PROPERTY to discover the cable and check
UCSI_CAP_ALT_MODE_DETAILS before registering the a cable plug. Additionally,
move 8 bits from reserved_1 to features in the ucsi_capability struct. This
makes the field 16 bits, still 8 short of the 24 bits allocated for it in
UCSI v3.0, but it will not overflow because UCSI only defines 14 bits in
bmOptionalFeatures.
Fixes:
|
||
---|---|---|
.. | ||
altmodes | ||
mux | ||
tcpm | ||
tipd | ||
ucsi | ||
anx7411.c | ||
bus.c | ||
bus.h | ||
class.c | ||
class.h | ||
hd3ss3220.c | ||
Kconfig | ||
Makefile | ||
mux.c | ||
mux.h | ||
pd.c | ||
pd.h | ||
port-mapper.c | ||
retimer.c | ||
retimer.h | ||
rt1719.c | ||
stusb160x.c | ||
wusb3801.c |