]> git.ipfire.org Git - thirdparty/linux.git/commit
Bluetooth: hci_dev: replace 'quirks' integer by 'quirk_flags' bitmap
authorChristian Eggers <ceggers@arri.de>
Mon, 14 Jul 2025 20:27:45 +0000 (22:27 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 16 Jul 2025 19:37:53 +0000 (15:37 -0400)
commit6851a0c228fc040dce8e4c393004209e7372e0a3
treec0b3a81bd1dfe3eff43ef14ac48ca48a26e426a5
parentcdee6a4416b2a57c89082929cc60e2275bb32a3a
Bluetooth: hci_dev: replace 'quirks' integer by 'quirk_flags' bitmap

The 'quirks' member already ran out of bits on some platforms some time
ago. Replace the integer member by a bitmap in order to have enough bits
in future. Replace raw bit operations by accessor macros.

Fixes: ff26b2dd6568 ("Bluetooth: Add quirk for broken READ_VOICE_SETTING")
Fixes: 127881334eaa ("Bluetooth: Add quirk for broken READ_PAGE_SCAN_TYPE")
Suggested-by: Pauli Virtanen <pav@iki.fi>
Tested-by: Ivan Pravdin <ipravdin.official@gmail.com>
Signed-off-by: Kiran K <kiran.k@intel.com>
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
32 files changed:
drivers/bluetooth/bfusb.c
drivers/bluetooth/bpa10x.c
drivers/bluetooth/btbcm.c
drivers/bluetooth/btintel.c
drivers/bluetooth/btintel_pcie.c
drivers/bluetooth/btmtksdio.c
drivers/bluetooth/btmtkuart.c
drivers/bluetooth/btnxpuart.c
drivers/bluetooth/btqca.c
drivers/bluetooth/btqcomsmd.c
drivers/bluetooth/btrtl.c
drivers/bluetooth/btsdio.c
drivers/bluetooth/btusb.c
drivers/bluetooth/hci_aml.c
drivers/bluetooth/hci_bcm.c
drivers/bluetooth/hci_bcm4377.c
drivers/bluetooth/hci_intel.c
drivers/bluetooth/hci_ldisc.c
drivers/bluetooth/hci_ll.c
drivers/bluetooth/hci_nokia.c
drivers/bluetooth/hci_qca.c
drivers/bluetooth/hci_serdev.c
drivers/bluetooth/hci_vhci.c
drivers/bluetooth/virtio_bt.c
include/net/bluetooth/hci.h
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/hci_debugfs.c
net/bluetooth/hci_event.c
net/bluetooth/hci_sync.c
net/bluetooth/mgmt.c
net/bluetooth/msft.c