summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorRobert Baldyga <r.baldyga@samsung.com>2014-02-20 09:26:25 +0100
committerFelipe Balbi <balbi@ti.com>2014-03-05 09:44:49 -0600
commit0e06bcac79ce6bb49adee22a991206933b7ea52d (patch)
treeca865272f7cdf6024d552d5abae27fbf3ed9e7ed /drivers/char
parent3f83e53878b9cb3314d76f957a497562ce508984 (diff)
downloadtalos-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 'drivers/char')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud