alistair23-linux/drivers/usb/gadget
Chunfeng Yun 980900d631 usb: gadget: composite: fix delayed_status race condition when set_interface
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 <chunfeng.yun@mediatek.com>
Tested-by: Jay Hsu <shih-chieh.hsu@mediatek.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2018-06-19 12:48:13 +03:00
..
function usb: gadget: ffs: Fix BUG when userland exits with submitted AIO transfers 2018-06-18 12:40:59 +03:00
legacy USB/PHY patches for 4.17-rc1 2018-04-04 17:55:35 -07:00
udc treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
composite.c usb: gadget: composite: fix delayed_status race condition when set_interface 2018-06-19 12:48:13 +03:00
config.c
configfs.c
configfs.h
epautoconf.c
functions.c
Kconfig Revert "usb: gadget: allow to enable legacy drivers without USB_ETH" 2017-12-12 12:48:30 +02:00
Makefile
u_f.c
u_f.h USB: gadget: f_midi: fixing a possible double-free in f_midi 2018-03-26 11:53:14 +02:00
u_os_desc.h
usbstring.c usb/gadget: Constify usb_gadget_get_string "table" argument 2018-05-15 10:06:49 +03:00