]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Bluetooth: btbcm: Add entry for BCM4356A2 UART bluetooth
authorHans de Goede <hdegoede@redhat.com>
Fri, 13 Oct 2017 15:54:01 +0000 (17:54 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 14 Oct 2017 07:25:11 +0000 (09:25 +0200)
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>
drivers/bluetooth/btbcm.c

index 06e8bed4f5eb71f79f360faf5b162cc59706cd4b..ae1fa390f5089f79df08b82ba3bfb07efb35cbc8 100644 (file)
@@ -328,6 +328,7 @@ static const struct {
        { 0x610c, "BCM4354"     },      /* 003.001.012 */
        { 0x2209, "BCM43430A1"  },      /* 001.002.009 */
        { 0x6119, "BCM4345C0"   },      /* 003.001.025 */
+       { 0x230f, "BCM4356A2"   },      /* 001.003.015 */
        { }
 };
 
@@ -362,6 +363,7 @@ int btbcm_initialize(struct hci_dev *hdev, char *fw_name, size_t len)
        switch ((rev & 0xf000) >> 12) {
        case 0:
        case 1:
+       case 2:
        case 3:
                for (i = 0; bcm_uart_subver_table[i].name; i++) {
                        if (subver == bcm_uart_subver_table[i].subver) {