]> git.baikalelectronics.ru Git - kernel.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)
committerTakashi Iwai <tiwai@suse.de>
Tue, 16 May 2017 07:11:33 +0000 (09:11 +0200)
commit03b512631043e969433ecb55534f43fa345524eb
tree626b71e953820b0bd6bbb008418b0ea043d7300c
parent540231a89bea24c42e548d072ad9b652b1ea7eac
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: 39501514e3bb ("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