diff options
author | Marc Boucher <marc@linuxant.com> | 2008-01-22 09:23:30 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:30:10 -0500 |
commit | d2595d86e5095f724c17ce97d679f30aa3eaabf8 (patch) | |
tree | 8d8df0054de567b3554fb078b39aecceeb939afc /sound | |
parent | 9f113e0ef47451defa950eed738d87387c0aa8f6 (diff) |
[ALSA] hda-codec - Add a delay after power state change
Added a delay after the power state change as a partial workaround
for 'hda_intel: azx_get_response timeout' problem on Cxt codecs.
Signed-off-by: Marc Boucher <marc@linuxant.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index b5e69b10cb83..6b93f4511166 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
@@ -1685,6 +1685,7 @@ static void hda_set_power_state(struct hda_codec *codec, hda_nid_t fg, | |||
1685 | 1685 | ||
1686 | snd_hda_codec_write(codec, fg, 0, AC_VERB_SET_POWER_STATE, | 1686 | snd_hda_codec_write(codec, fg, 0, AC_VERB_SET_POWER_STATE, |
1687 | power_state); | 1687 | power_state); |
1688 | msleep(10); /* partial workaround for "azx_get_response timeout" */ | ||
1688 | 1689 | ||
1689 | nid = codec->start_nid; | 1690 | nid = codec->start_nid; |
1690 | for (i = 0; i < codec->num_nodes; i++, nid++) { | 1691 | for (i = 0; i < codec->num_nodes; i++, nid++) { |