OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d689e34
)
[ALSA] Insert might_sleep() in snd_iprintf()
author
Takashi Iwai
<tiwai@suse.de>
Fri, 28 Apr 2006 13:13:41 +0000
(15:13 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Thu, 22 Jun 2006 19:33:11 +0000
(21:33 +0200)
Inserted might_sleep() in snd_iprintf() for sanity check.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/info.c
patch
|
blob
|
history
diff --git
a/sound/core/info.c
b/sound/core/info.c
index
8636683
..
4188f76
100644
(file)
--- a/
sound/core/info.c
+++ b/
sound/core/info.c
@@
-114,6
+114,7
@@
int snd_iprintf(struct snd_info_buffer *buffer, char *fmt,...)
int len, res;
int err = 0;
+ might_sleep();
if (buffer->stop || buffer->error)
return 0;
len = buffer->len - buffer->size;