linux_dsm_epyc7002/drivers/usb/musb
Robert Baldyga e117e742d3 usb: gadget: add "maxpacket_limit" field to struct usb_ep
This patch adds "maxpacket_limit" to struct usb_ep. This field contains
maximum value of maxpacket supported by driver, and is set in driver probe.
This value should be used by autoconfig() function, because value of field
"maxpacket" is set to value from endpoint descriptor when endpoint becomes
enabled. So when autoconfig() function will be called again for this endpoint,
"maxpacket" value will contain wMaxPacketSize from descriptior instead of
maximum packet size for this endpoint.

For this reason this patch adds new field "maxpacket_limit" which contains
value of maximum packet size (which defines maximum endpoint capabilities).
This value is used in ep_matches() function used by autoconfig().

Value of "maxpacket_limit" should be set in UDC driver probe function, using
usb_ep_set_maxpacket_limit() function, defined in gadget.h. This function
set choosen value to both "maxpacket_limit" and "maxpacket" fields.

This patch modifies UDC drivers by adding support for maxpacket_limit.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-12-17 13:17:41 -06:00
..
am35x.c
blackfin.c
blackfin.h
cppi_dma.c
cppi_dma.h
da8xx.c
davinci.c
davinci.h
Kconfig usb: patches for v3.13 2013-10-24 16:18:40 +01:00
Makefile
musb_am335x.c
musb_core.c usb: musb: unconditionally save and restore the context on suspend 2013-11-26 10:35:15 -06:00
musb_core.h Merge 3.12-rc6 into usb-next. 2013-10-19 13:19:07 -07:00
musb_cppi41.c usb: musb: cppi41: allow to defer probing if DMA isn't yet available 2013-10-17 11:32:08 -05:00
musb_debug.h
musb_debugfs.c
musb_dma.h
musb_dsps.c usb: musb: dsps: polling ID pin status only in otg mode 2013-11-26 11:44:40 -06:00
musb_gadget_ep0.c
musb_gadget.c usb: gadget: add "maxpacket_limit" field to struct usb_ep 2013-12-17 13:17:41 -06:00
musb_gadget.h
musb_host.c usb: musb: dsps: add support for suspend and resume 2013-11-26 10:58:16 -06:00
musb_host.h usb: musb: dsps: add support for suspend and resume 2013-11-26 10:58:16 -06:00
musb_io.h
musb_regs.h
musb_virthub.c usb: musb: dsps: add support for suspend and resume 2013-11-26 10:58:16 -06:00
musbhsdma.c
musbhsdma.h
omap2430.c usb: patches for v3.13 2013-10-24 16:18:40 +01:00
omap2430.h
tusb6010_omap.c
tusb6010.c
tusb6010.h
ux500_dma.c
ux500.c ARM: SoC DT updates for 3.13 2013-11-11 17:34:56 +09:00