[PATCH 5.10 01/97] usb: gadget: fix race when gadget driver register via ioctl