[PATCH openEuler-5.10 099/114] usb: raw-gadget: fix handling of dual-direction-capable endpoints