[PATCH v2] usb: udc: core: Use lock when write to soft_connect