usb: gadget: Fix BUG: scheduling while atomic
Data function drivers u_bam, u_bam_data, u_data_ipa
calling msm_dwc3_reset_dbm_ep() with spin_lock held
in resume work. msm_dwc3_reset_dbm_ep() calls
usleep_range() which sleeps. Hence release port_lock
just before calling this API and acquire it back right
after returning from the API as port_lock is not
protecting any shared data structure in
msm_dwc3_reset_dbm_ep().
Change-Id: I82baf42d44f98d38c7776f80f552d093e8b5264d
Signed-off-by:
Hemant Kumar <hemantk@codeaurora.org>
Loading
Please register or sign in to comment