diff options
author | Rene Herman <rene.herman> | 2007-09-18 12:10:49 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2007-10-16 10:50:54 -0400 |
commit | d86d01935a4c4c818514d8c23579703abd768329 (patch) | |
tree | 6b0a1f67979fb5283511d6cf1776dca0c89507ba /sound/soc | |
parent | b44ef2f1544a0a8d3d8907890662924082d0f1fa (diff) |
[ALSA] alsa-kernel: schedule_timeout() fixes
Fix schedule_timeout() use in alsa-kernel. Mostly just
schedule_timeout(1) --> schedule_timeout_uninterruptible(1)
The wavefront_synth one fixes the surrounding loop as well. In ymfpci_main,
delete a superfluous set_current_state() and in soc/soc-dapm.c replace an
_interruptible with _uninterruptible in some debug code; it's not waiting
for signals.
Signed-off-by: Rene Herman <rene.herman>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/soc-dapm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 96bce55572a..b3193e687db 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -63,7 +63,7 @@ | |||
63 | #define POP_DEBUG 0 | 63 | #define POP_DEBUG 0 |
64 | #if POP_DEBUG | 64 | #if POP_DEBUG |
65 | #define POP_TIME 500 /* 500 msecs - change if pop debug is too fast */ | 65 | #define POP_TIME 500 /* 500 msecs - change if pop debug is too fast */ |
66 | #define pop_wait(time) schedule_timeout_interruptible(msecs_to_jiffies(time)) | 66 | #define pop_wait(time) schedule_timeout_uninterruptible(msecs_to_jiffies(time)) |
67 | #define pop_dbg(format, arg...) printk(format, ## arg); pop_wait(POP_TIME) | 67 | #define pop_dbg(format, arg...) printk(format, ## arg); pop_wait(POP_TIME) |
68 | #else | 68 | #else |
69 | #define pop_dbg(format, arg...) | 69 | #define pop_dbg(format, arg...) |