Use lock to guard against concurrent access for soft-connect/disconnect
operations when writing to soft_connect sysfs.
Cc: <redacted>
Fixes: 2ccea03a8f7e ("usb: gadget: introduce UDC Class")
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
this does look better than v2 :-p
Acked-by: Felipe Balbi <balbi@kernel.org>
--
balbi