usb: gadget: at91_udc: fix build warning
authorFelipe Balbi <balbi@ti.com>
Tue, 24 Dec 2013 01:28:17 +0000 (19:28 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 24 Dec 2013 01:28:17 +0000 (19:28 -0600)
commit4685d021f5cd04bd2682bd4db6dfa9f784fabf9f
tree860923081ac6a6b9ae2a8a06c1daced20721ff12
parent27e9dcc924e92239625e670e269688ccbccbf777
usb: gadget: at91_udc: fix build warning

commit e117e742 (usb: gadget: add "maxpacket_limit"
field to struct usb_ep) added a build warning to
at91_udc when it passed the wrong argument to
usb_ep_set_maxpacket_limit().

Fix this by passing correct argument.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/at91_udc.c