usb: gadget: f_qdss: Fix unclocked access during connect in qdss mode
For the scenario when usb cable is connected followed by quick disconnect
in qdss composition, qdss driver will queue connect work as part of
qdss_set_alt(). This results in crash if connect work is scheduled after
USB enters low power mode.
Fix the issue by checking whether usb is disconnected or not
and if it is already disconnected, then return from qdss connect_work.
CRs-Fixed: 709524
Change-Id: Ibe7af347c56afab73d3146fd792788c1d58b7ddc
Signed-off-by:
Saket Saurabh <ssaurabh@codeaurora.org>
Loading
Please register or sign in to comment