projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: pcm: Fix missing fixup call in compat hw_refine ioctl
[platform/kernel/linux-starfive.git]
/
sound
/
core
/
pcm_lib.c
diff --git
a/sound/core/pcm_lib.c
b/sound/core/pcm_lib.c
index
8b6aeb8
..
02fd659
100644
(file)
--- a/
sound/core/pcm_lib.c
+++ b/
sound/core/pcm_lib.c
@@
-2155,6
+2155,8
@@
int pcm_lib_apply_appl_ptr(struct snd_pcm_substream *substream,
ret = substream->ops->ack(substream);
if (ret < 0) {
runtime->control->appl_ptr = old_appl_ptr;
+ if (ret == -EPIPE)
+ __snd_pcm_xrun(substream);
return ret;
}
}