Message ID | cover.1638771720.git.philipp.g.hortmann@gmail.com |
---|---|
Headers | show |
Series | Docs: usb: Code and text updates from usb-skeleton | expand |
On 06.12.21 21:57, Philipp Hortmann wrote: > The :c:func:`usb_bulk_msg` function can be very useful for doing single reads > or writes to a device; however, if you need to read or write constantly to > a device, it is recommended to set up your own urbs and submit them to > -the USB subsystem. > +the USB subsystem. The template uses urbs for read and write. Hi, now that I read this, shouldn't we tell the reader why exactly the use of URBs is a good idea at that place? Regards Oliver
On 12/7/21 9:55 AM, Oliver Neukum wrote: > > On 06.12.21 21:57, Philipp Hortmann wrote: >> The :c:func:`usb_bulk_msg` function can be very useful for doing single reads >> or writes to a device; however, if you need to read or write constantly to >> a device, it is recommended to set up your own urbs and submit them to >> -the USB subsystem. >> +the USB subsystem. The template uses urbs for read and write. > > Hi, > > now that I read this, shouldn't we tell the reader why exactly the use > of URBs is a good idea at that place? > > Regards > Oliver > The Documentation/driver-api/usb/URB.rst does describe this well. We could think about a link to it. Regards Philipp