Thinh Nguyen Thinh.Nguyen@synopsys.com writes:
Use lock to guard against concurrent access for soft-connect/disconnect operations when writing to soft_connect sysfs.
Cc: stable@vger.kernel.org Fixes: 2ccea03a8f7e ("usb: gadget: introduce UDC Class") Signed-off-by: Thinh Nguyen Thinh.Nguyen@synopsys.com
Acked-by: Felipe Balbi balbi@kernel.org