ALSA: hda - No loopback on ALC299 codec
authorTakashi Iwai <tiwai@suse.de>
Tue, 16 May 2017 07:11:33 +0000 (09:11 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 16 May 2017 07:11:33 +0000 (09:11 +0200)
commitfa16b69f1299004b60b625f181143500a246e5cb
tree626b71e953820b0bd6bbb008418b0ea043d7300c
parentf83914fdfcc3ecb62a5a83eeb609ff59a9c2052d
ALSA: hda - No loopback on ALC299 codec

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")
Cc: stable@vger.kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c