media: rp1: cfe: Improve link validation for metadata
[platform/kernel/linux-rpi.git] / drivers / bluetooth / hci_bcm4377.c
index 19ad0e7..a617578 100644 (file)
@@ -512,6 +512,7 @@ struct bcm4377_hw {
        unsigned long disable_aspm : 1;
        unsigned long broken_ext_scan : 1;
        unsigned long broken_mws_transport_config : 1;
+       unsigned long broken_le_coded : 1;
 
        int (*send_calibration)(struct bcm4377_data *bcm4377);
        int (*send_ptb)(struct bcm4377_data *bcm4377,
@@ -2372,6 +2373,8 @@ static int bcm4377_probe(struct pci_dev *pdev, const struct pci_device_id *id)
                set_bit(HCI_QUIRK_BROKEN_MWS_TRANSPORT_CONFIG, &hdev->quirks);
        if (bcm4377->hw->broken_ext_scan)
                set_bit(HCI_QUIRK_BROKEN_EXT_SCAN, &hdev->quirks);
+       if (bcm4377->hw->broken_le_coded)
+               set_bit(HCI_QUIRK_BROKEN_LE_CODED, &hdev->quirks);
 
        pci_set_drvdata(pdev, bcm4377);
        hci_set_drvdata(hdev, bcm4377);
@@ -2461,6 +2464,7 @@ static const struct bcm4377_hw bcm4377_hw_variants[] = {
                .bar0_core2_window2 = 0x18107000,
                .has_bar0_core2_window2 = true,
                .broken_mws_transport_config = true,
+               .broken_le_coded = true,
                .send_calibration = bcm4378_send_calibration,
                .send_ptb = bcm4378_send_ptb,
        },
@@ -2474,6 +2478,7 @@ static const struct bcm4377_hw bcm4377_hw_variants[] = {
                .has_bar0_core2_window2 = true,
                .clear_pciecfg_subsystem_ctrl_bit19 = true,
                .broken_mws_transport_config = true,
+               .broken_le_coded = true,
                .send_calibration = bcm4387_send_calibration,
                .send_ptb = bcm4378_send_ptb,
        },