From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755254AbbJ1JKZ (ORCPT ); Wed, 28 Oct 2015 05:10:25 -0400 Received: from mail-lf0-f48.google.com ([209.85.215.48]:34718 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752472AbbJ1JKU (ORCPT ); Wed, 28 Oct 2015 05:10:20 -0400 Date: Wed, 28 Oct 2015 10:10:19 +0100 From: Johan Hovold To: Lu Baolu Cc: Mathias Nyman , Greg Kroah-Hartman , Alan Stern , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 11/12] usb: serial: usb_debug: add support for dbc debug device Message-ID: <20151028091019.GB28572@localhost> References: <1446019243-5565-1-git-send-email-baolu.lu@linux.intel.com> <1446019243-5565-12-git-send-email-baolu.lu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1446019243-5565-12-git-send-email-baolu.lu@linux.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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