linux/drivers/usb/renesas_usbhs
Yoshihiro Shimoda 64c5f48b10 usb: renesas_usbhs: Modify ep.caps.type_xxx and usb_ep_maxpacket_limit()
This patch modifies the ep.caps.type_{iso,bulk,int} setting and
the second argument of usb_ep_maxpacket_limit() using
the dparam.pipe_configs.

In the previous code, all the type_{iso,bulk,int} were set to true.
However, to avoid waste time for finding suitable pipe in usb_ep_enable(),
this driver should set correct type.
Also the second argument of usb_ep_maxpacket_limit() was set to 512
even if the pipe is isochronous or interrupt. So, this driver could
not bind a gadget driver like the g_audio driver.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2015-12-15 09:12:41 -06:00
..
common.c usb: renesas_usbhs: Modify pipe configuration 2015-12-15 09:12:41 -06:00
common.h usb: renesas_usbhs: add support for USB-DMAC 2015-03-13 10:41:19 -05:00
fifo.c usb: patches for v4.2 merge window 2015-06-02 10:47:03 +09:00
fifo.h usb: renesas_usbhs: tidyup usbhs_for_each_dfifo macro 2015-04-27 15:48:33 -05:00
Kconfig usb: renesas: fix extcon dependency 2015-02-23 09:14:33 -06:00
Makefile usb: renesas_usbhs: add R-Car Gen. 2 init and power control 2014-07-16 10:06:32 -05:00
mod_gadget.c usb: renesas_usbhs: Modify ep.caps.type_xxx and usb_ep_maxpacket_limit() 2015-12-15 09:12:41 -06:00
mod_host.c usb: renesas_usbhs: Modify pipe configuration 2015-12-15 09:12:41 -06:00
mod.c usb: renesas_usbhs: avoid uninitialized variable use 2015-05-22 08:52:16 -05:00
mod.h renesas_usbhs: cleanup quoted includes 2012-06-05 10:15:25 +02:00
pipe.c usb: renesas_usbhs: Modify pipe configuration 2015-12-15 09:12:41 -06:00
pipe.h usb: renesas_usbhs: Modify pipe configuration 2015-12-15 09:12:41 -06:00
rcar2.c usb: renesas_usbhs: Remove unneeded #include <linux/platform_data/gpio-rcar.h> 2015-10-20 16:03:36 +02:00
rcar2.h usb: renesas_usbhs: add R-Car Gen. 2 init and power control 2014-07-16 10:06:32 -05:00