]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - only sync BCLK to the display clock for Haswell & Broadwell
authorMengdong Lin <mengdong.lin@intel.com>
Mon, 20 Apr 2015 09:33:57 +0000 (17:33 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Apr 2015 15:27:55 +0000 (17:27 +0200)
commit2bd2d9715fd8689f93aaf52e112cdaf344604b9d
treebb09e34b0fb05c7280b151a3528a13feebd1af6d
parent8eab333d01f79aa501ba2c9e9f08f52a0d167dad
ALSA: hda - only sync BCLK to the display clock for Haswell & Broadwell

Only Intel Haswell and Broadwell have a separate HD-A controller (PCI device 3)
for display audio, which needs to get 24MHz HD-A link BCLK from the variable
display core clock through vendor specific registers EM4 & EM5. Other platforms
(Baytrail, Braswell and Skylake) don't have this feature.

So this patch checks the PCI device ID of the controller in haswell_set_bclk()
and only sync BCLK for HSW and BDW.

Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_i915.c