]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: hda - No loopback on ALC299 codec
authorTakashi Iwai <tiwai@suse.de>
Tue, 16 May 2017 07:11:33 +0000 (09:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Jun 2017 10:10:10 +0000 (12:10 +0200)
commit0c4afdc6d82d3790abb4ef0e1b250bbfbc66377f
tree6b25c7516cfe59ee8b9b17541097ae5a0c2e2263
parentd5bc54d0a373dfb4000b755969e9dbe7524799e0
ALSA: hda - No loopback on ALC299 codec

commit fa16b69f1299004b60b625f181143500a246e5cb upstream.

ALC299 has no loopback mixer, but the driver still tries to add a beep
control over the mixer NID which leads to the error at accessing it.
This patch fixes it by properly declaring mixer_nid=0 for this codec.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=195775
Fixes: 28f1f9b26cee ("ALSA: hda/realtek - Add new codec ID ALC299")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c