summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btbcm.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-10-13 11:54:01 -0400
committerMarcel Holtmann <marcel@holtmann.org>2017-10-14 03:25:11 -0400
commitb133e0c4bc953a3c156ce7d89ae49cc27957869c (patch)
treeeee2cb92489827f4ac8d97b287ec81a30e9b7eb4 /drivers/bluetooth/btbcm.c
parent05e89fb576f580ac95e7a5d00bdb34830b09671a (diff)
Bluetooth: btbcm: Add entry for BCM4356A2 UART bluetooth
This patch adds the device ID for the bluetooth chip used in the Broadcom BCM4356 PCI-E WiFi / UART BT chip. Successfully tested using Firmware version 0273 The upper nibble of the rev field is 2 on this device, so this commit also adds handling of 2 to the switch-case done on the upper nibble. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btbcm.c')
-rw-r--r--drivers/bluetooth/btbcm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c
index 06e8bed4f5eb..ae1fa390f508 100644
--- a/drivers/bluetooth/btbcm.c
+++ b/drivers/bluetooth/btbcm.c
@@ -328,6 +328,7 @@ static const struct {
328 { 0x610c, "BCM4354" }, /* 003.001.012 */ 328 { 0x610c, "BCM4354" }, /* 003.001.012 */
329 { 0x2209, "BCM43430A1" }, /* 001.002.009 */ 329 { 0x2209, "BCM43430A1" }, /* 001.002.009 */
330 { 0x6119, "BCM4345C0" }, /* 003.001.025 */ 330 { 0x6119, "BCM4345C0" }, /* 003.001.025 */
331 { 0x230f, "BCM4356A2" }, /* 001.003.015 */
331 { } 332 { }
332}; 333};
333 334
@@ -362,6 +363,7 @@ int btbcm_initialize(struct hci_dev *hdev, char *fw_name, size_t len)
362 switch ((rev & 0xf000) >> 12) { 363 switch ((rev & 0xf000) >> 12) {
363 case 0: 364 case 0:
364 case 1: 365 case 1:
366 case 2:
365 case 3: 367 case 3:
366 for (i = 0; bcm_uart_subver_table[i].name; i++) { 368 for (i = 0; bcm_uart_subver_table[i].name; i++) {
367 if (subver == bcm_uart_subver_table[i].subver) { 369 if (subver == bcm_uart_subver_table[i].subver) {