ASoC: davinci: Use snd_pcm_stop_xrun() helper
authorTakashi Iwai <tiwai@suse.de>
Wed, 4 Jul 2018 14:01:43 +0000 (16:01 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 4 Jul 2018 14:41:33 +0000 (15:41 +0100)
commitdae35d1f4f7dab9ccef20037df91c43e680bad0f
treea47e2d77199803fdac917c28ca5a9cbc261d1b39
parentda13ed1d80fe6a4d95043aaf2e0aff292ade5708
ASoC: davinci: Use snd_pcm_stop_xrun() helper

Replace open-codes with the standard snd_pcm_stop_xrun() helper.
It simplifies codes a lot.

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