linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* gadget: Why do Microsoft OS descriptors need their own USB request?
@ 2020-07-03  0:11 Chris Dickens
  2020-07-03  6:00 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 9+ messages in thread
From: Chris Dickens @ 2020-07-03  0:11 UTC (permalink / raw)
  To: linux-usb, Felipe Balbi, Greg Kroah-Hartman; +Cc: andrzej.p

Hi,

I've never understood it, so I figure I might as well just ask.  Why
does the Microsoft OS descriptors support require the allocation of a
separate USB request for the composite gadget device?  Both the
default control request buffer and the "special" OS descriptors buffer
are the same size (4KB) and use the same completion handler.  As far
as I can tell there is nothing distinct between them.  There's only
ever one outstanding USB request queued to ep0, so can the dedicated
USB request be removed and just share the default one?  I'm happy to
provide a patch, unless of course I've missed something.

Regards,
Chris

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-07-25  6:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-03  0:11 gadget: Why do Microsoft OS descriptors need their own USB request? Chris Dickens
2020-07-03  6:00 ` Greg Kroah-Hartman
2020-07-03  6:47   ` Chris Dickens
2020-07-03  6:57     ` Greg Kroah-Hartman
2020-07-03  7:03       ` Chris Dickens
2020-07-03  7:24         ` Greg Kroah-Hartman
2020-07-03  8:35           ` [PATCH] usb: gadget: composite: Remove dedicated OS Feature Descriptors request Chris Dickens
2020-07-03  8:57             ` Greg Kroah-Hartman
2020-07-25  6:12             ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).