mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
It happens when enable debug log, if set_alt() returns USB_GADGET_DELAYED_STATUS and usb_composite_setup_continue() is called before increasing count of @delayed_status, so fix it by using spinlock of @cdev->lock. Signed-off-by: Chunfeng Yun <[email protected]> Tested-by: Jay Hsu <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>