usb: dwc3: msm: clear resource on dwc3_msm_probe defer
In dwc3_msm_probe, when need to defer probe, driver should clear resource has been allocated and de-attach the children device. of_platform_depopulate is the complement of of_platform_populate to remove devices created here. And driver also needs to destroy workqueue in error case. Change-Id: I234198eba45842f86c736dd459096ebc4fced807 Signed-off-by: Ziqi Chen <ziqic@codeaurora.org> Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Loading
Please register or sign in to comment