Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760402Ab0FRKaN (ORCPT ); Fri, 18 Jun 2010 06:30:13 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:30491 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759978Ab0FRKaK convert rfc822-to-8bit (ORCPT ); Fri, 18 Jun 2010 06:30:10 -0400 MIME-version: 1.0 Content-type: text/plain; charset=utf-8; format=flowed; delsp=yes Date: Fri, 18 Jun 2010 12:31:02 +0200 From: =?utf-8?B?TWljaGHFgiBOYXphcmV3aWN6?= Subject: Re: [PATCHv5 06/11] USB: gadget: g_multi: code clean up and refactoring In-reply-to: <20100617175101.GD3644@kroah.com> To: Greg KH Cc: linux-usb@vger.kernel.org, David Brownell , Kyungmin Park , Marek Szyprowski , linux-kernel@vger.kernel.org Message-id: Organization: Samsung Electronics Content-transfer-encoding: 8BIT User-Agent: Opera Mail/10.60 (Linux) References: <20100615185527.GA22803@kroah.com> <7131891c93ac20a3360068e2f4b8fff0de7dfafb.1276681840.git.m.nazarewicz@samsung.com> <1cf0484e46e3b2b5ce0dea8cdc7396d4bfa977c5.1276681840.git.m.nazarewicz@samsung.com> <0022e21e1b622b3a54d1e55aed727e7e429c7c70.1276681840.git.m.nazarewicz@samsung.com> <45fc10256bd2374706e4153360427257d15804a9.1276681840.git.m.nazarewicz@samsung.com> <20100617175101.GD3644@kroah.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2046 Lines: 47 On Thu, 17 Jun 2010 19:51:01 +0200, Greg KH wrote: > On Wed, Jun 16, 2010 at 12:08:01PM +0200, Michal Nazarewicz wrote: >> The Multifunction Compasite Gadget have been cleaned up >> and refactored so hopefully it looks prettier and works >> at least as good as before changes. >> >> Signed-off-by: Michal Nazarewicz >> Signed-off-by: Kyungmin Park >> --- >> drivers/usb/gadget/Kconfig | 1 + >> drivers/usb/gadget/multi.c | 262 +++++++++++++++++++++++++------------------- >> 2 files changed, 148 insertions(+), 115 deletions(-) >> >> diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig >> index 591ae9f..027f61b 100644 >> --- a/drivers/usb/gadget/Kconfig >> +++ b/drivers/usb/gadget/Kconfig >> @@ -863,6 +863,7 @@ config USB_G_NOKIA >> config USB_G_MULTI >> tristate "Multifunction Composite Gadget (EXPERIMENTAL)" >> depends on BLOCK && NET >> + select USB_G_MULTI_CDC if !USB_G_MULTI_RNDIS >> help >> The Multifunction Composite Gadget provides Ethernet (RNDIS >> and/or CDC Ethernet), mass storage and ACM serial link > > Why is this change needed? Did you do something else in this patch that > requires it? Without this select it is possible to choose neither RNDIS nor CDC ECM which in turns builds a module with no configurations. I've also realised recently that one does not need to specify bNumConfigurations in usb_device_descriptor since composite counts that for us so I'll resend this patch with that fixed as well. -- Best regards, _ _ | Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o | Computer Science, MichaƂ "mina86" Nazarewicz (o o) +----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/