summaryrefslogtreecommitdiff
path: root/sound/soc/sof/ipc.c
diff options
context:
space:
mode:
authorKeyon Jie <yang.jie@linux.intel.com>2019-04-30 18:09:27 -0500
committerMark Brown <broonie@kernel.org>2019-05-03 14:59:59 +0900
commitff758e9f73a0fcb93a53349e8fbace4ac019d031 (patch)
treeb7aa17c305615eec2d0941f8ee8056831b966f1c /sound/soc/sof/ipc.c
parent8242d53975a95c8c35c5fd0d2c1689b53be07db8 (diff)
ASoC: SOF: ipc: use snd_sof_pcm_period_elapsed
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>
Diffstat (limited to 'sound/soc/sof/ipc.c')
-rw-r--r--sound/soc/sof/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sof/ipc.c b/sound/soc/sof/ipc.c
index bf58d58e7379..437e80a07bc2 100644
--- a/sound/soc/sof/ipc.c
+++ b/sound/soc/sof/ipc.c
@@ -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 */