Unverified Commit ff758e9f authored by Keyon Jie's avatar Keyon Jie Committed by Mark Brown
Browse files

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: default avatarKeyon Jie <yang.jie@linux.intel.com>
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8242d539
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -445,7 +445,7 @@ static void ipc_period_elapsed(struct snd_sof_dev *sdev, u32 msg_id)


	/* only inform ALSA for period_wakeup mode */
	/* only inform ALSA for period_wakeup mode */
	if (!stream->substream->runtime->no_period_wakeup)
	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 */
/* DSP notifies host of an XRUN within FW */