[PATCH v2 2/2] usb: gadget: max3420_udc: Fix out-of-bounds endpoint index access