aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorPrashanth K <prashanth.k@oss.qualcomm.com>2025-05-06 16:19:12 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-21 13:10:07 +0200
commit1c06aff9b82fc3795a80feeb23935b9a44b07e71 (patch)
tree78d336bf9bd5d788ecfe695fd6ecd1ac1cfef680 /scripts/lib/kdoc/kdoc_files.py
parentusb: storage: Ignore UAS driver for SanDisk 3.2 Gen2 storage device (diff)
downloadlinux-rng-1c06aff9b82fc3795a80feeb23935b9a44b07e71.tar.xz
linux-rng-1c06aff9b82fc3795a80feeb23935b9a44b07e71.zip
usb: gadget: u_serial: Avoid double unlock of serial_port_lock
Avoid unlocking serial_port_lock twice in gserial_suspend(), this can occur if gserial_wakeup_host() fails. And since wakeup is performed outside spinlock, check if the port is valid before proceeding again. Fixes: 3baea29dc0a7 ("usb: gadget: u_serial: Implement remote wakeup capability") Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Closes: https://lore.kernel.org/all/aBHatifO5bjR1yPt@stanley.mountain/ Signed-off-by: Prashanth K <prashanth.k@oss.qualcomm.com> Link: https://lore.kernel.org/r/20250506104912.3750934-1-prashanth.k@oss.qualcomm.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions