Return-Path: From: "Henrik Rydberg" Date: Wed, 11 Jul 2012 17:03:36 +0200 To: Gustavo Padovan Cc: linux-bluetooth@vger.kernel.org, Gustavo Padovan , Greg Kroah-Hartman , "open list:USB SUBSYSTEM" , open list Subject: Re: [PATCH -v2] USB: add USB_VENDOR_AND_INTERFACE_INFO() macro Message-ID: <20120711150336.GA1340@polaris.bitmath.org> References: <1341958206-15610-1-git-send-email-gustavo@padovan.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1341958206-15610-1-git-send-email-gustavo@padovan.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: On Tue, Jul 10, 2012 at 07:10:06PM -0300, Gustavo Padovan wrote: > From: Gustavo Padovan > > A lot of Broadcom Bluetooth devices provides vendor specific interface > class and we are getting flooded by patches adding new device support. > This change will help us enable support for any other Broadcom with vendor > specific device that arrives in the future. > > Only the product id changes for those devices, so this macro would be > perfect for us: > > { USB_VENDOR_AND_INTERFACE_INFO(0x0a5c, 0xff, 0x01, 0x01) } > > Signed-off-by: Marcel Holtmann > Signed-off-by: Gustavo Padovan > --- Thank you, Gustavo, this patch made me happy. Henrik