/* The Matrix Orbital VK204-25-USB has an invalid IN endpoint. We have to correct it if we want to read from it.  */
static int ftdi_mtxorb_hack_setup(struct usb_serial *serial)
/* The Matrix Orbital VK204-25-USB has an invalid IN endpoint. We have to correct it if we want to read from it.  */
static int ftdi_mtxorb_hack_setup(struct usb_serial *serial)
{
	struct usb_host_endpoint *ep = serial->dev->ep_in[1];
	struct usb_endpoint_descriptor *ep_desc = &ep->desc;
	if (ep->enabled && ep_desc->wMaxPacketSize == 0) {
		ep_desc->wMaxPacketSize = cpu_to_le16(0x40);
		dev_info(&serial->dev->dev,
			 "Fixing invalid wMaxPacketSize on read pipe\n");
	}
	return 0;
}