usb: m66592-udc buffer management update
Quoted 27 lines · Greg KH
Quoted 26 lines · Paul Mundt
Quoted 25 lines · Yoshihiro Shimoda
Quoted 15 lines · Yoshihiro Shimoda
Quoted 14 lines · Magnus Damm
From: Magnus Damm <[email protected]>
This patch updates the m66592-udc buffer management code.
Use fixed buffers for bulk and isochronous pipes, also make sure to handle the isochronous-as-bulk case. With fixed buffers there is no need to keep track of used buffers with
bi_bufnum.Also, this fixes a potential buffer offset problem where the base offset incorrectly varies with the number of pipes used.
With this patch applied it is possible to use m66592-udc for both Ethernet and Serial using
CONFIG_USB_CDC_COMPOSITE.Quoted 6 lines
Quoted 1 line
Signed-off-by Magnus Damm <[email protected]>Thank you for your patch.
I also thought that this management method was good. In addition, thank you for finding a potential problem. I tested this patch and confirmed it is working.I'm sorry. I forgot to write the Acked-by:
Quoted 9 lines
Quoted 4 lines
Quoted 2 lines
Greg, any preferences? I was planning on just rolling this in to my 2.6.32 queue unless you have any objections.
No objection from me, please do so.
Done, thanks.