Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0d4e77a2 authored by Saket Saurabh's avatar Saket Saurabh
Browse files

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: default avatarSaket Saurabh <ssaurabh@codeaurora.org>
parent d602960e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment