提交 23c7b521 编写于 作者: H Herton Ronaldo Krzesinski 提交者: Takashi Iwai

ALSA: hda - Don't touch non-existent port f on 4-port 92hd71bxx codecs

When checking for input amps on pins 0x0a, 0x0d and 0x0f, and
initializing them for 92hd71xxx codec models, we must skip nid 0x0f
for 4-port models too like with 5-port models, as it is unused
(nid 0x0f is vendor reserved in 4-port models).
Signed-off-by: NHerton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 8663ae55
...@@ -5072,6 +5072,8 @@ static int patch_stac92hd71bxx(struct hda_codec *codec) ...@@ -5072,6 +5072,8 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)
switch (codec->vendor_id) { switch (codec->vendor_id) {
case 0x111d76b6: /* 4 Port without Analog Mixer */ case 0x111d76b6: /* 4 Port without Analog Mixer */
case 0x111d76b7: case 0x111d76b7:
unmute_init++;
/* fallthru */
case 0x111d76b4: /* 6 Port without Analog Mixer */ case 0x111d76b4: /* 6 Port without Analog Mixer */
case 0x111d76b5: case 0x111d76b5:
memcpy(&spec->private_dimux, &stac92hd71bxx_dmux_nomixer, memcpy(&spec->private_dimux, &stac92hd71bxx_dmux_nomixer,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册