Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d2595d86e5095f724c17ce97d679f30aa3eaabf8
Commit:     d2595d86e5095f724c17ce97d679f30aa3eaabf8
Parent:     9f113e0ef47451defa950eed738d87387c0aa8f6
Author:     Marc Boucher <[EMAIL PROTECTED]>
AuthorDate: Tue Jan 22 15:23:30 2008 +0100
Committer:  Jaroslav Kysela <[EMAIL PROTECTED]>
CommitDate: Thu Jan 31 17:30:10 2008 +0100

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
---
 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 b5e69b1..6b93f45 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,
 
        snd_hda_codec_write(codec, fg, 0, AC_VERB_SET_POWER_STATE,
                            power_state);
+       msleep(10); /* partial workaround for "azx_get_response timeout" */
 
        nid = codec->start_nid;
        for (i = 0; i < codec->num_nodes; i++, nid++) {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to