Loading
dwc3-msm: Flush sm_work with dwc3_restart_usb_host_mode() API
There is race seen between USB stop host mode and USB start host
mode when Linux DP driver calls usbpd_release_ss_lane() API for
4 lane DP functionality. This results into trying to delete xhci
platform device before it has been added causing multiple crashes.
Fix this issue by flushing sm_work before trying to stop host mode
functionality.
Change-Id: Ifbc888ecd87836d29c93b0c402613743b19982ea
Signed-off-by:
Mayank Rana <mrana@codeaurora.org>