Commit:     d238998fbfa49f30b02f0a5de5294ca53c58348c
Parent:     b59f8197c5ddd0d5d74b663650be5449dacd34aa
Author:     Linus Torvalds <[EMAIL PROTECTED]>
AuthorDate: Tue Jan 8 11:46:37 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Jan 8 11:46:37 2008 -0800

    Revert "hda_intel suspend latency: shorten codec read"
    This reverts commit 57a04513cb35086d54bcb2cb92e6627fc8fa0fae.
    Harald Dunkel reports that it broke sound for him:
      "Alsa stopped working for me.  I still can access /dev/dsp, change the
       volume and so on, but the speakers are quiet."
    Reverting it fixed things for him.
    Reported-and-tested-by: Harald Dunkel <[EMAIL PROTECTED]>
    Acked-by: Takashi Iwai <[EMAIL PROTECTED]>
    Acked-by: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 sound/pci/hda/hda_intel.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 62b9fb3..3fa0f97 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -555,8 +555,7 @@ static unsigned int azx_rirb_get_response(struct hda_codec 
                if (!chip->rirb.cmds)
                        return chip->rirb.res; /* the last value */
-               udelay(10);
-               cond_resched();
+               schedule_timeout_uninterruptible(1);
        } while (time_after_eq(timeout, jiffies));
        if (chip->msi) {
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

Reply via email to