]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ASoC: SOF: ipc: use snd_sof_pcm_period_elapsed
authorKeyon Jie <yang.jie@linux.intel.com>
Tue, 30 Apr 2019 23:09:27 +0000 (18:09 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 3 May 2019 05:59:59 +0000 (14:59 +0900)
Switch to a wrapper function which schedules the actual call of
snd_pcm_period_elapsed after the current IPC is completed.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc.c

index bf58d58e737964c1945446173a53d7a0f1697a25..437e80a07bc2c4bd41c53280c6beaf225afced35 100644 (file)
@@ -445,7 +445,7 @@ static void ipc_period_elapsed(struct snd_sof_dev *sdev, u32 msg_id)
 
        /* only inform ALSA for period_wakeup mode */
        if (!stream->substream->runtime->no_period_wakeup)
-               snd_pcm_period_elapsed(stream->substream);
+               snd_sof_pcm_period_elapsed(stream->substream);
 }
 
 /* DSP notifies host of an XRUN within FW */