projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b59f819
)
Revert "hda_intel suspend latency: shorten codec read"
author
Linus Torvalds
<
[email protected]
>
Tue, 8 Jan 2008 19:46:37 +0000
(11:46 -0800)
committer
Linus Torvalds
<
[email protected]
>
Tue, 8 Jan 2008 19:46:37 +0000
(11:46 -0800)
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
patch
|
blob
|
history
diff --git
a/sound/pci/hda/hda_intel.c
b/sound/pci/hda/hda_intel.c
index 62b9fb3869030802cfe6bb5dbc72b6750db104c7..3fa0f9704909764e154da625082251b5e0ef9e26 100644
(file)
--- 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 *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) {