On Sun, Sep 16 2012, Sebastian Andrzej Siewior <bige...@linutronix.de> 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 <min...@mina86.com>

> Signed-off-by: Sebastian Andrzej Siewior <bige...@linutronix.de>

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

Attachment: pgpKyBQlzeAt7.pgp
Description: PGP signature

Reply via email to