ASoC: sti: Use snd_pcm_stop_xrun() helper
authorTakashi Iwai <tiwai@suse.de>
Wed, 4 Jul 2018 14:01:45 +0000 (16:01 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 4 Jul 2018 14:41:35 +0000 (15:41 +0100)
commitdc865fb9e7c2251c9585ff6a7bf185d499db13e4
tree110d3abcc05ded863ae134543df932e2a4492d51
parent1a42e7e3aff1aa4789378020318dff7432317d25
ASoC: sti: Use snd_pcm_stop_xrun() helper

The XRUN trigger from the driver should be done via
snd_pcm_stop_xrun().  It fixes the missing stream locking as a gratis,
too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sti/uniperif_player.c
sound/soc/sti/uniperif_reader.c