Skip to content
Commit 0ea8116c authored by Ziqi Chen's avatar Ziqi Chen Committed by Mayank Rana
Browse files

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: default avatarZiqi Chen <ziqic@codeaurora.org>
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 0eb0db78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment