Peter Chen wrote: > >> To: Felipe Balbi <balbi@xxxxxxxxxx>; Greg Kroah-Hartman >> <gregkh@xxxxxxxxxxxxxxxxxxx>; linux-usb@xxxxxxxxxxxxxxx; Peter Chen >> <peter.chen@xxxxxxx>; Lee Jones <lee.jones@xxxxxxxxxx>; Alan Stern >> <stern@xxxxxxxxxxxxxxxxxxx>; Thomas Gleixner <tglx@xxxxxxxxxxxxx>; Dejin >> Zheng <zhengdejin5@xxxxxxxxx>; Sebastian Andrzej Siewior >> <bigeasy@xxxxxxxxxxxxx>; Ahmed S. Darwish <a.darwish@xxxxxxxxxxxxx>; >> Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>; Michal Nazarewicz >> <mina86@xxxxxxxxxx> >> Cc: stable@xxxxxxxxxxxxxxx >> Subject: [PATCH] usb: udc: core: Use lock for soft_connect >> >> Use lock to guard against concurrent access for soft-connect/disconnect >> operations when writing to soft_connect sysfs. >> >> Cc: stable@xxxxxxxxxxxxxxx >> Fixes: 2ccea03a8f7e ("usb: gadget: introduce UDC Class") >> Signed-off-by: Thinh Nguyen <Thinh.Nguyen@xxxxxxxxxxxx> > Reviewed-by: Peter Chen <peter.chen@xxxxxxxxxx> > > Peter Thank you for the review. Thinh