summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/core/info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/core/info.c b/sound/core/info.c
index 86366839c4b..4188f76add7 100644
--- 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;