summaryrefslogtreecommitdiff
path: root/include/linux/seqlock.h
diff options
context:
space:
mode:
authorPrashanth K <prashanth.k@oss.qualcomm.com>2026-02-04 11:11:55 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-02-05 17:13:48 +0100
commit54aaa3b387c2f580a99dc86a9cc2eb6dfaf599a7 (patch)
treecb59ce44277c7de87a9031d823a2097158427940 /include/linux/seqlock.h
parent6dbc394fa51dfa43ed648fb95045ace57596b6f5 (diff)
usb: dwc3: gadget: Move vbus draw to workqueue context
Currently dwc3_gadget_vbus_draw() can be called from atomic context, which in turn invokes power-supply-core APIs. And some these PMIC APIs have operations that may sleep, leading to kernel panic. Fix this by moving the vbus_draw into a workqueue context. Fixes: 99288de36020 ("usb: dwc3: add an alternate path in vbus_draw callback") Cc: stable <stable@kernel.org> Tested-by: Samuel Wu <wusamuel@google.com> Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com> Signed-off-by: Prashanth K <prashanth.k@oss.qualcomm.com> Link: https://patch.msgid.link/20260204054155.3063825-1-prashanth.k@oss.qualcomm.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/seqlock.h')
0 files changed, 0 insertions, 0 deletions