ALSA: hda - set intel audio clock to a proper value
authorLibin Yang <libin.yang@intel.com>
Thu, 6 Apr 2017 11:18:21 +0000 (19:18 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 7 Apr 2017 08:39:21 +0000 (10:39 +0200)
commit1f9d3d98694b1cef93f99a54e6830e9717616ba6
tree066f25d70d5769148a84b0187619af7e6b765242
parentdde5bff5415953f9cc7413f1b1ceebcdfd583c07
ALSA: hda - set intel audio clock to a proper value

On some Intel platforms, the audio clock may not be set correctly
with initial setting. This will cause the audio playback/capture
rates wrong.

This patch checks the audio clock setting and will set it to a
proper value if it is set incorrectly.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188411

Signed-off-by: Libin Yang <libin.yang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c