ASoC: stm32: Use snd_pcm_stop_xrun() helper
authorTakashi Iwai <tiwai@suse.de>
Wed, 4 Jul 2018 14:01:46 +0000 (16:01 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 4 Jul 2018 14:41:36 +0000 (15:41 +0100)
commitb1625fbb3b87affbedf14545b65d69ff182a0611
tree87c7e6f2c6e02561f558e64eadacd7a8ebe018b5
parentdc865fb9e7c2251c9585ff6a7bf185d499db13e4
ASoC: stm32: Use snd_pcm_stop_xrun() helper

The XRUN trigger from the driver should be done via
snd_pcm_stop_xrun().  It simplifies the locking as well.

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