Re: [PATCH 03/20] usb/gadget: move global vars from epautoconf into struct usb_gadget

2012-08-24 Thread Michal Nazarewicz
Sebastian Andrzej Siewior writes: > epautoconf has two global variables which count the endpoint number of > last assigned endpoint. > This patch removes the global variable and keeps it as per (UDC) gadget. > While here, the ifdef is removed and now the in and outpoint are > enumerated unconditio

[PATCH 03/20] usb/gadget: move global vars from epautoconf into struct usb_gadget

2012-08-24 Thread Sebastian Andrzej Siewior
epautoconf has two global variables which count the endpoint number of last assigned endpoint. This patch removes the global variable and keeps it as per (UDC) gadget. While here, the ifdef is removed and now the in and outpoint are enumerated unconditionally. The dwc3 for instance supports 32 endp