Commit d238998f authored by Linus Torvalds's avatar Linus Torvalds

Revert "hda_intel suspend latency: shorten codec read"

This reverts commit 57a04513.

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: default avatarHarald Dunkel <harald.dunkel@t-online.de>
Acked-by: default avatarTakashi Iwai <tiwai@suse.de>
Acked-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b59f8197
...@@ -555,8 +555,7 @@ static unsigned int azx_rirb_get_response(struct hda_codec *codec) ...@@ -555,8 +555,7 @@ static unsigned int azx_rirb_get_response(struct hda_codec *codec)
} }
if (!chip->rirb.cmds) if (!chip->rirb.cmds)
return chip->rirb.res; /* the last value */ return chip->rirb.res; /* the last value */
udelay(10); schedule_timeout_uninterruptible(1);
cond_resched();
} while (time_after_eq(timeout, jiffies)); } while (time_after_eq(timeout, jiffies));
if (chip->msi) { if (chip->msi) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment