Re: [PATCH] usb: m66592-udc buffer management update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Magnus Damm wrote:
> From: Magnus Damm <damm@xxxxxxxxxx>
> 
> 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.
> 
> Signed-off-by: Magnus Damm <damm@xxxxxxxxxx>

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.

Thanks,
Yoshihiro Shimoda
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux