Re: [PATCH 11/12] usb: serial: usb_debug: add support for dbc debug device

From: Johan Hovold
Date: Wed Oct 28 2015 - 05:10:31 EST


On Wed, Oct 28, 2015 at 04:00:42PM +0800, Lu Baolu wrote:
> This patch add dbc debug device support in usb_debug driver.
>
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> ---
> drivers/usb/serial/usb_debug.c | 29 ++++++++++++++++++++++++++---
> 1 file changed, 26 insertions(+), 3 deletions(-)

> +static struct usb_serial_driver dbc_device = {
> + .driver = {
> + .owner = THIS_MODULE,
> + .name = "xhci_dbc",
> + },
> + .id_table = dbc_id_table,
> + .num_ports = 1,
> + .bulk_out_size = 1024,

No need to set this unless you need a larger (or smaller for ehci)
buffer than the endpoint size.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/