aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r--sound/pci/hda/patch_sigmatel.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 76487de33c84..ecf53f755a09 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -4084,7 +4084,12 @@ static int stac92xx_init(struct hda_codec *codec)
4084 pinctl = snd_hda_codec_read(codec, nid, 0, 4084 pinctl = snd_hda_codec_read(codec, nid, 0,
4085 AC_VERB_GET_PIN_WIDGET_CONTROL, 0); 4085 AC_VERB_GET_PIN_WIDGET_CONTROL, 0);
4086 /* if PINCTL already set then skip */ 4086 /* if PINCTL already set then skip */
4087 if (!(pinctl & AC_PINCTL_IN_EN)) { 4087 /* Also, if both INPUT and OUTPUT are set,
4088 * it must be a BIOS bug; need to override, too
4089 */
4090 if (!(pinctl & AC_PINCTL_IN_EN) ||
4091 (pinctl & AC_PINCTL_OUT_EN)) {
4092 pinctl &= ~AC_PINCTL_OUT_EN;
4088 pinctl |= AC_PINCTL_IN_EN; 4093 pinctl |= AC_PINCTL_IN_EN;
4089 stac92xx_auto_set_pinctl(codec, nid, 4094 stac92xx_auto_set_pinctl(codec, nid,
4090 pinctl); 4095 pinctl);