Skip to content

Commit

Permalink
Revert "hda_intel suspend latency: shorten codec read"
Browse files Browse the repository at this point in the history
This reverts commit 57a0451.

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 <harald.dunkel@t-online.de>
Acked-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Linus Torvalds committed Jan 8, 2008
1 parent b59f819 commit d238998
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sound/pci/hda/hda_intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -555,8 +555,7 @@ static unsigned int azx_rirb_get_response(struct hda_codec *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) {
Expand Down

0 comments on commit d238998

Please sign in to comment.