ALSA: hda - Fix missing COEF init for ALC225/295/299
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Dec 2017 07:53:59 +0000 (08:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 27 Dec 2017 07:53:59 +0000 (08:53 +0100)
commit44be77c590f381bc629815ac789b8b15ecc4ddcf
tree22834a996dc465bc34eceee70c12214594dd3fe8
parenta36c2638380c0a4676647a1f553b70b20d3ebce1
ALSA: hda - Fix missing COEF init for ALC225/295/299

There was a long-standing problem on HP Spectre X360 with Kabylake
where it lacks of the front speaker output in some situations.  Also
there are other products showing the similar behavior.  The culprit
seems to be the missing COEF setup on ALC codecs, ALC225/295/299,
which are all compatible.

This patch adds the proper COEF setup (to initialize idx 0x67 / bits
0x3000) for addressing the issue.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=195457
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c