linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_QCA_ROME
@ 2018-03-21 16:09 Vic Wei
  2018-03-21 16:24 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Vic Wei @ 2018-03-21 16:09 UTC (permalink / raw)
  To: marcel, linux-kernel, majordomo
  Cc: stable, linux-arm-msm, linux-arm-kernel, kumo, vwei, Vic Wei

QCA Rome controllers can do both LE scan and BR/EDR inquiry at once.

Change-Id: I89e1412d635f4cd7b2500f7492f37430ea139f0c
Signed-off-by: Vic Wei <vwei@codeaurora.org>
---
 drivers/bluetooth/btusb.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 60bf04b..b94ff37 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -3050,6 +3050,7 @@ static int btusb_probe(struct usb_interface *intf,
 	if (id->driver_info & BTUSB_QCA_ROME) {
 		data->setup_on_usb = btusb_setup_qca;
 		hdev->set_bdaddr = btusb_set_bdaddr_ath3012;
+		set_bit(HCI_QUIRK_SIMULTANEOUS_DISCOVERY, &hdev->quirks);
 	}
 
 #ifdef CONFIG_BT_HCIBTUSB_RTL
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_QCA_ROME
  2018-03-21 16:09 [PATCH 1/1] Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_QCA_ROME Vic Wei
@ 2018-03-21 16:24 ` Greg KH
  2018-03-21 18:10   ` Harsh Shandilya
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2018-03-21 16:24 UTC (permalink / raw)
  To: Vic Wei
  Cc: marcel, linux-kernel, majordomo, stable, linux-arm-msm,
	linux-arm-kernel, kumo, vwei

On Wed, Mar 21, 2018 at 09:09:57AM -0700, Vic Wei wrote:
> QCA Rome controllers can do both LE scan and BR/EDR inquiry at once.
> 
> Change-Id: I89e1412d635f4cd7b2500f7492f37430ea139f0c

What is this line for?

> Signed-off-by: Vic Wei <vwei@codeaurora.org>
> ---
>  drivers/bluetooth/btusb.c | 1 +
>  1 file changed, 1 insertion(+)

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read:
    https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_QCA_ROME
  2018-03-21 16:24 ` Greg KH
@ 2018-03-21 18:10   ` Harsh Shandilya
  2018-03-21 19:38     ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Harsh Shandilya @ 2018-03-21 18:10 UTC (permalink / raw)
  To: Greg KH, Vic Wei
  Cc: marcel, linux-kernel, majordomo, stable, linux-arm-msm,
	linux-arm-kernel, kumo, vwei



On 21 March 2018 9:54:37 PM IST, Greg KH <gregkh@linuxfoundation.org> wrote:
>On Wed, Mar 21, 2018 at 09:09:57AM -0700, Vic Wei wrote:
>> QCA Rome controllers can do both LE scan and BR/EDR inquiry at once.
>> 
>> Change-Id: I89e1412d635f4cd7b2500f7492f37430ea139f0c
>
>What is this line for?

That's the Change ID required by everything that goes through Gerrit. CAF (I'm assuming Vic is from CodeAurora Forums judging by the email) uses Gerrit as their review platform for the Android for MSM project.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_QCA_ROME
  2018-03-21 18:10   ` Harsh Shandilya
@ 2018-03-21 19:38     ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2018-03-21 19:38 UTC (permalink / raw)
  To: Harsh Shandilya
  Cc: Vic Wei, marcel, linux-kernel, majordomo, stable, linux-arm-msm,
	linux-arm-kernel, kumo, vwei

On Wed, Mar 21, 2018 at 11:40:07PM +0530, Harsh Shandilya wrote:
> 
> 
> On 21 March 2018 9:54:37 PM IST, Greg KH <gregkh@linuxfoundation.org> wrote:
> >On Wed, Mar 21, 2018 at 09:09:57AM -0700, Vic Wei wrote:
> >> QCA Rome controllers can do both LE scan and BR/EDR inquiry at once.
> >> 
> >> Change-Id: I89e1412d635f4cd7b2500f7492f37430ea139f0c
> >
> >What is this line for?
> 
> That's the Change ID required by everything that goes through Gerrit. CAF (I'm assuming Vic is from CodeAurora Forums judging by the email) uses Gerrit as their review platform for the Android for MSM project.

It was a rhetorical question, I know what it is, and the fact that it
should not be in a kernel patch submission, I wanted the submitter to
learn to read their own patches _before_ they send them in.

Also, if they used checkpatch.pl, it would have told them to remove
this.

It's like saying to a kid, "what is this mess on the floor"...

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-03-21 19:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-21 16:09 [PATCH 1/1] Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_QCA_ROME Vic Wei
2018-03-21 16:24 ` Greg KH
2018-03-21 18:10   ` Harsh Shandilya
2018-03-21 19:38     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).