提交 e2e7d624 编写于 作者: M Matthew Ranostay 提交者: Jaroslav Kysela

[ALSA] hda: STAC9205 GPIO line fix

Fixed issue that the incorrect GPIO line was being pulled high
for some STAC9205 based laptops.
Signed-off-by: NMatthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NJaroslav Kysela <perex@perex.cz>
上级 6330079f
......@@ -3661,11 +3661,11 @@ static int patch_stac9205(struct hda_codec *codec)
stac92xx_set_config_reg(codec, 0x1f, 0x01441030);
stac92xx_set_config_reg(codec, 0x20, 0x1c410030);
spec->gpio_mask = 0x00000007; /* GPIO0-2 */
/* GPIO0 High = EAPD, GPIO1 Low = DRM,
* GPIO2 High = Headphone Mute
spec->gpio_mask = 0x0000000b;
/* GPIO0 High = EAPD, GPIO1 Low = Headphone Mute,
* GPIO3 High = DRM
*/
spec->gpio_data = 0x00000005;
spec->gpio_data = 0x00000009;
break;
default:
/* GPIO0 High = EAPD */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册