]> 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)
commit959bab7ae28f18bc016a6a299c2b96d30d7d155c
tree626b71e953820b0bd6bbb008418b0ea043d7300c
parentb38bc34cb57de8baa77646a4a8930de062ba1483
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: 07c73117e1e1 ("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