From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Sender: "Gustavo F. Padovan" Date: Wed, 29 Jun 2011 03:31:54 -0300 From: "Gustavo F. Padovan" To: "Li, Steven" Cc: Marcel Holtmann , "linux-bluetooth@vger.kernel.org" Subject: Re: [PATCH] Bluetooth: Ath3k keeps same PID/VID after downloading the patch and radio table Message-ID: <20110629063154.GC2712@joana> References: <73DDB75979F36A42B75F3E2B6EB2943401031018@nasanexd02c.na.qualcomm.com> <1309308687.2208.22.camel@aeonflux> <73DDB75979F36A42B75F3E2B6EB2943401031CF1@nasanexd02c.na.qualcomm.com> <20110629043130.GA2712@joana> <73DDB75979F36A42B75F3E2B6EB2943401031D2E@nasanexd02c.na.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <73DDB75979F36A42B75F3E2B6EB2943401031D2E@nasanexd02c.na.qualcomm.com> List-ID: * Li, Steven [2011-06-29 06:14:34 +0000]: > > Hi Padovan: > > > -----Original Message----- > > From: Gustavo F. Padovan [mailto:pao@profusion.mobi] On Behalf Of > > Gustavo F. Padovan > > Sent: Wednesday, June 29, 2011 12:32 PM > > To: Li, Steven > > Cc: Marcel Holtmann; linux-bluetooth@vger.kernel.org > > Subject: Re: [PATCH] Bluetooth: Ath3k keeps same PID/VID after > > downloading the patch and radio table > > > > Hi Steven, > > > > Please stop messy top postings like this one. It's not allowed on this mailing > > list. Thanks. > > > > * Li, Steven [2011-06-29 03:51:03 +0000]: > > > > > Hi Marcel: > > > > > > > please fix the coding style. It is if[space](. > > > Okay, I see. > > > > > > > I would say something similar in style > > > > to what I have done for the older CSR chips. See workaround above. > > > > And on that note, you could use data->udev to get the usb_device > > > > struct ;) > > > As to this point, since now we are not using the btusb to download the > > patch and radio table, > > > I think we do not need to alloc the data struct and use data->udev before > > the workaround. > > > So I'll still keep it was. How do you think it ? > > > > No, there is no extra allocation. data->udev is already there. Just use it as > > Marcel said. > > There is somehow different with the older CSR chips. > We need to return -NODEV directly if the bcd version of the 3012 chip is lower or equal to 0x0001, > And I think in such "return -NODEV" case, we totally do not need to alloc the btusb_data. Ah yes, you right, I misread the patch. Gustavo