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)
commitff758e9f73a0fcb93a53349e8fbace4ac019d031
treeb7aa17c305615eec2d0941f8ee8056831b966f1c
parent8242d53975a95c8c35c5fd0d2c1689b53be07db8
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>
sound/soc/sof/ipc.c