aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-08-28 09:20:13 -0700
committerTakashi Iwai <tiwai@suse.de>2012-08-28 09:26:16 -0700
commitc36b5b054aaf14d68261970e3769398110e636d8 (patch)
treeb7da0f6db0af2db6149bc47dfa28e263cee4027b /sound
parentALSA: hda - Avoid unnecessary parameter read for EPSS (diff)
downloadlinux-dev-c36b5b054aaf14d68261970e3769398110e636d8.tar.xz
linux-dev-c36b5b054aaf14d68261970e3769398110e636d8.zip
ALSA: hda - Don't trust codec EPSS bit for IDT 92HD83xx & co
These codecs seem reporting EPSS but require longer delay for the proper D3 transition. For example, D3_STOP_CLOCK_OK bit won't be set correctly even after D3. In this patch, codec->epss flag is overridden for avoid the misbehavior. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_sigmatel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 3edd73c3d361..6f806d3e56bb 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -5534,6 +5534,7 @@ static int patch_stac92hd83xxx(struct hda_codec *codec)
snd_hda_codec_set_pincfg(codec, 0xf, 0x2181205e);
}
+ codec->epss = 0; /* longer delay needed for D3 */
codec->no_trigger_sense = 1;
codec->spec = spec;