projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/sound/core/info.c
b/sound/core/info.c
index 86366839c4bb78a7a8d152c6ead9f6ef25fcf945..4188f76add75562d22bfe3a579c433eee76482ad 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;