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

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

 



Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> 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 unconditionally. The dwc3 for instance supports 32 endpoints
> in total.
>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>

The code looks good to me, but I'm not UDC expert and thus I don't know
whether this won't break something, so I'm reluctant to give my
Acked-by.

-- 
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michał “mina86” Nazarewicz    (o o)
ooo +----<email/xmpp: mpn@xxxxxxxxxx>--------------ooO--(_)--Ooo--

Attachment: pgpmBwPBFPzec.pgp
Description: PGP signature


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

  Powered by Linux