Re: [PATCH] usb: dwc3: Fix the error paths in usb3-phy PHY configuration

2022-05-18 Thread Michal Simek
+Jan On 5/18/22 12:18, Aswath Govindraju wrote: [CAUTION: External Email] generic_phy_power_off(), needs to be called in dwc3_glue_remove() while exiting as we powering on the phy in the dwc3_glue_probe(). Therefore, instantiate struct phy in dwc3_glue_data to use in dwc3_glue_probe() as well

[PATCH] usb: dwc3: Fix the error paths in usb3-phy PHY configuration

2022-05-18 Thread Aswath Govindraju
generic_phy_power_off(), needs to be called in dwc3_glue_remove() while exiting as we powering on the phy in the dwc3_glue_probe(). Therefore, instantiate struct phy in dwc3_glue_data to use in dwc3_glue_probe() as well as dwc3_glue_remove(). In cases where "usb3-phy" is not present in the