Messages in this thread | | | Subject | Re: [PATCH 7/7] usb: dwc3: qcom: Enable gpio-usb-conn based role-switching | From | Bryan O'Donoghue <> | Date | Tue, 17 Mar 2020 15:22:22 +0000 |
| |
On 17/03/2020 06:31, Bjorn Andersson wrote: > I don't yet have a sane suggestion on how to redesign the dependency > between the two drivers in order to avoid this, but it's at least not > possible to access the child's state data from dwc3_qcom_probe().
yep, this should be modeled as the dwc3 registering with the parent role-switch, like gpio-usb-conn does with dwc3.
I have an idea for a patch, I'll v2 this.
| |