[ALSA] Insert might_sleep() in snd_iprintf()
Inserted might_sleep() in snd_iprintf() for sanity check. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
d689e34b52
commit
f001c3acf6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user