Re: [PATCH] usb/dwc3: fix ep->maxburst for ep0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Felip,

On 1/17/2013 4:14 PM, Pratyush ANAND wrote:
dwc3_gadget_set_ep_config expects maxburst as incremented by 1. So, by
default initialize ep->maxburst to 0 for ep0.


Although , this patch fixes issue of maxburst for default control endpoint. But, I could not understand purpose of following patch..May be I am missing something..

usb: gadget: composite: fix ep->maxburst initialization

Since at every other places, maxburst takes value same as bMaxburst size(like isoc_maxburst in f_sourcesink.c), so why should we use an incremented one in composite.c and decrement it again in peripheral driver.

Regards
Pratyush
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux