* [PATCH AUTOSEL 4.14 8/8] Bluetooth: btusb: Fix quirks table naming
[not found] <20230908182127.3461199-1-sashal@kernel.org>
@ 2023-09-08 18:21 ` Sasha Levin
2023-09-11 9:40 ` Pavel Machek
0 siblings, 1 reply; 2+ messages in thread
From: Sasha Levin @ 2023-09-08 18:21 UTC (permalink / raw)
To: linux-kernel, stable
Cc: Bastien Nocera, Paul Menzel, Luiz Augusto von Dentz, Sasha Levin,
marcel, johan.hedberg, luiz.dentz, linux-bluetooth
From: Bastien Nocera <hadess@hadess.net>
[ Upstream commit d831e3612111d385e8629104af5429808ef26e25 ]
The quirks table was named "blacklist_table" which isn't a good
description for that table as devices detected using it weren't ignored
by the driver.
Rename the table to match what it actually does.
Signed-off-by: Bastien Nocera <hadess@hadess.net>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
drivers/bluetooth/btusb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 27d26ef70dcc1..4904c00fbebe2 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -186,7 +186,7 @@ static const struct usb_device_id btusb_table[] = {
MODULE_DEVICE_TABLE(usb, btusb_table);
-static const struct usb_device_id blacklist_table[] = {
+static const struct usb_device_id quirks_table[] = {
/* CSR BlueCore devices */
{ USB_DEVICE(0x0a12, 0x0001), .driver_info = BTUSB_CSR },
@@ -2963,7 +2963,7 @@ static int btusb_probe(struct usb_interface *intf,
if (!id->driver_info) {
const struct usb_device_id *match;
- match = usb_match_id(intf, blacklist_table);
+ match = usb_match_id(intf, quirks_table);
if (match)
id = match;
}
--
2.40.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH AUTOSEL 4.14 8/8] Bluetooth: btusb: Fix quirks table naming
2023-09-08 18:21 ` [PATCH AUTOSEL 4.14 8/8] Bluetooth: btusb: Fix quirks table naming Sasha Levin
@ 2023-09-11 9:40 ` Pavel Machek
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2023-09-11 9:40 UTC (permalink / raw)
To: Sasha Levin
Cc: linux-kernel, stable, Bastien Nocera, Paul Menzel,
Luiz Augusto von Dentz, marcel, johan.hedberg, luiz.dentz,
linux-bluetooth
[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]
Hi!
> From: Bastien Nocera <hadess@hadess.net>
>
> [ Upstream commit d831e3612111d385e8629104af5429808ef26e25 ]
>
> The quirks table was named "blacklist_table" which isn't a good
> description for that table as devices detected using it weren't ignored
> by the driver.
>
> Rename the table to match what it actually does.
Cleanup, not a bugfix. Don't need it in stable.
Best regards,
Pavel
> +++ b/drivers/bluetooth/btusb.c
> @@ -186,7 +186,7 @@ static const struct usb_device_id btusb_table[] = {
>
> MODULE_DEVICE_TABLE(usb, btusb_table);
>
> -static const struct usb_device_id blacklist_table[] = {
> +static const struct usb_device_id quirks_table[] = {
> /* CSR BlueCore devices */
> { USB_DEVICE(0x0a12, 0x0001), .driver_info = BTUSB_CSR },
>
> @@ -2963,7 +2963,7 @@ static int btusb_probe(struct usb_interface *intf,
> if (!id->driver_info) {
> const struct usb_device_id *match;
>
> - match = usb_match_id(intf, blacklist_table);
> + match = usb_match_id(intf, quirks_table);
> if (match)
> id = match;
> }
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-11 21:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230908182127.3461199-1-sashal@kernel.org>
2023-09-08 18:21 ` [PATCH AUTOSEL 4.14 8/8] Bluetooth: btusb: Fix quirks table naming Sasha Levin
2023-09-11 9:40 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox