diff options
author | Robert Baldyga <r.baldyga@samsung.com> | 2014-02-20 09:26:25 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-03-05 09:44:49 -0600 |
commit | 0e06bcac79ce6bb49adee22a991206933b7ea52d (patch) | |
tree | ca865272f7cdf6024d552d5abae27fbf3ed9e7ed /kernel/stacktrace.c | |
parent | 3f83e53878b9cb3314d76f957a497562ce508984 (diff) | |
download | talos-op-linux-0e06bcac79ce6bb49adee22a991206933b7ea52d.tar.gz talos-op-linux-0e06bcac79ce6bb49adee22a991206933b7ea52d.zip |
usb: gadget: at91_udc: fix ep maxpacket initialisation
This patch fixes problem with unnecessary usb_ep_set_maxpacket_limit() usage.
It should not be used in at91udc_probe() function, where maxpacket values are
set for field "maxpacket" of struct at91_ep, which is representation of
endpoint in driver internals. Function usb_ep_set_maxpacket_limit() is called
in udc_reinit() function, where struct usb_ep instances are initialised with
values set previously in struct at91_ep instances. So it's very important to
initialise it properly.
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions