From: Keyon Jie Date: Tue, 30 Apr 2019 23:09:27 +0000 (-0500) Subject: ASoC: SOF: ipc: use snd_sof_pcm_period_elapsed X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ff758e9f73a0fcb93a53349e8fbace4ac019d031;p=linux.git 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 Signed-off-by: Pierre-Louis Bossart Signed-off-by: Mark Brown --- diff --git a/sound/soc/sof/ipc.c b/sound/soc/sof/ipc.c index bf58d58e73796..437e80a07bc2c 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 */