projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: at91: sama5d3: reduce TWI internal clock frequency
[firefly-linux-kernel-4.4.55.git]
/
sound
/
core
/
compress_offload.c
diff --git
a/sound/core/compress_offload.c
b/sound/core/compress_offload.c
index d9af6387f37c63acc631f670117b274c97e63824..9d518ac73eea064a6b4d918d3dba072cb50102f5 100644
(file)
--- a/
sound/core/compress_offload.c
+++ b/
sound/core/compress_offload.c
@@
-384,8
+384,7
@@
static unsigned int snd_compr_poll(struct file *f, poll_table *wait)
return -EFAULT;
mutex_lock(&stream->device->lock);
- if (stream->runtime->state == SNDRV_PCM_STATE_PAUSED ||
- stream->runtime->state == SNDRV_PCM_STATE_OPEN) {
+ if (stream->runtime->state == SNDRV_PCM_STATE_OPEN) {
retval = -EBADFD;
goto out;
}