commit | f001c3acf64b8ca18fe40af592629abb261b321e | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Fri Apr 28 15:13:41 2006 +0200 |
committer | Jaroslav Kysela <perex@suse.cz> | Thu Jun 22 21:33:11 2006 +0200 |
tree | 20eeb99fe71d2128e6dcd5cfcb16d73b6315aa81 | |
parent | d689e34b524b69c111db0b7c844d71c8e1a53b15 [diff] |
[ALSA] Insert might_sleep() in snd_iprintf() Inserted might_sleep() in snd_iprintf() for sanity check. Signed-off-by: Takashi Iwai <tiwai@suse.de>
diff --git a/sound/core/info.c b/sound/core/info.c index 86366839..4188f76 100644 --- a/sound/core/info.c +++ b/sound/core/info.c
@@ -114,6 +114,7 @@ int len, res; int err = 0; + might_sleep(); if (buffer->stop || buffer->error) return 0; len = buffer->len - buffer->size;