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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Jan 2018 19:31:05 +0000 (20:31 +0100)
commit9c5ee053a67eb374878b20eab7d16feb2a87a851
treebdd676bcd67f9586b7f28a5f2fb46a5fb64b2182
parent9fcd2ae2abb5efb67f331f567ed22a7305461a80
ALSA: hda - Fix missing COEF init for ALC225/295/299

commit 44be77c590f381bc629815ac789b8b15ecc4ddcf upstream.

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
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c