Commit 115d844c authored by Krishna Kurapati's avatar Krishna Kurapati Committed by Todd Kjos
Browse files

ANDROID: usb: dwc3: core: Introduce vendor struct to deal with ABI breakage

Adding commits [1]/[2] to DWC3 driver essentially breaks the ABI as it
modifies dwc3 structure by adding phy related variables to it. Fix this by
moving the newly added variable to a vendor opts structure. Also to not
break boot on pixel devices, use the already present phy structure in dwc
for single port controllers and first port of multiport controllers. For
the other ports, use the phy structures present in vendor dwc.

[1]: https://lore.kernel.org/all/20240420044901.884098-3-quic_kriskura@quicinc.com/
[2]: https://lore.kernel.org/all/20240420044901.884098-5-quic_kriskura@quicinc.com/



Bug: 233985973
Bug: 380063536
Change-Id: I76575bcd9a8f6c49077e4200cbda1c684af427c6
Signed-off-by: default avatarKrishna Kurapati <quic_kriskura@quicinc.com>
Signed-off-by: default avatarRajashekar kuruva <quic_kuruva@quicinc.com>
parent 73d62af3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment