Commit e12e79a1 authored by Punnaiah Choudary Kalluri's avatar Punnaiah Choudary Kalluri Committed by Michal Simek
Browse files

usb: gadget: zynq: Fix usb ethernet gadget probe error



This patch is based on the below commit
"usb: gadget: add "maxpacket_limit" field to struct usb_ep"
(sha1:e117e742)

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.

Signed-off-by: default avatarPunnaiah Choudary Kalluri <punnaia@xilinx.com>
Tested-by: default avatarNathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent bea25c87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment