|
|
|
Re: [PATCH 8/8] usb/gadget: always update HS/SS descriptors and create a copy of them | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
On Sun, Sep 16 2012, Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> wrote: > HS and SS descriptors are staticaly created. They are updated during the > bind process with the endpoint address, string id or interface numbers. > After that, the descriptor chain is linked to struct usb_function which > is used by composite in order to serve the GET_DESCRIPTOR requests, > number of available configs and so on. > There is no need to assign the HS descriptor only if the UDC supports > HS speed because composite won't report those to the Host if HS support > has not been reached. The same goes for SS. > This patch makes sure each functions updates HS/SS descriptors > unconditionally and uses the newly introcued helper function to create a > copy the descriptors for the speed which is supported by the UDC. For changes in composite.c, config.c, f_fs.c and f_mass_storage.c: Acked-by: Michal Nazarewicz <mina86@xxxxxxxxxx> > Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> -- 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:
pgpqJgdINP0V8.pgp
Description: PGP signature

[Linux Media] [Video for Linux] [Linux Input] [Linux Audio Users] [Photo] [Yosemite News] [Yosemite Photos] [Free Online Dating] [Linux Kernel] [Linux SCSI] [Old Linux USB Devel Archive] [More Archives]
![]() |
![]() |