Merge branch 'topic/hda' into for-next
[firefly-linux-kernel-4.4.55.git] / sound / pci / hda / hda_i915.c
index b648928b641599a9c7c8a16b1cfb390056f07f33..d9d079330e55bf11d8cd26fbd4c3a1b44ff4f14e 100644 (file)
@@ -60,6 +60,12 @@ void haswell_set_bclk(struct hda_intel *hda)
        int cdclk_freq;
        unsigned int bclk_m, bclk_n;
        struct i915_audio_component *acomp = &hda->audio_component;
+       struct pci_dev *pci = hda->chip.pci;
+
+       /* Only Haswell/Broadwell need set BCLK */
+       if (pci->device != 0x0a0c && pci->device != 0x0c0c
+          && pci->device != 0x0d0c && pci->device != 0x160c)
+               return;
 
        if (!acomp->ops)
                return;