summaryrefslogtreecommitdiffstats
path: root/firmware/pcm_mixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/pcm_mixer.c')
-rw-r--r--firmware/pcm_mixer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/pcm_mixer.c b/firmware/pcm_mixer.c
index fcd9a1c4fd..4fd96bc97c 100644
--- a/firmware/pcm_mixer.c
+++ b/firmware/pcm_mixer.c
@@ -271,7 +271,9 @@ void mixer_channel_play_data(enum pcm_mixer_channel channel,
{
/* Initial buffer not passed - call the callback now */
pcm_play_lock();
- mixer_deactivate_channel(chan); /* Protect chan struct if active */
+ mixer_deactivate_channel(chan); /* Protect chan struct if active;
+ may also be same callback which
+ must not be reentered */
pcm_play_unlock(); /* Allow playback while doing callback */
size = 0;