]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90dd413b6b9d054016338984dfbb487c7fa2d79b
treea47e2d77199803fdac917c28ca5a9cbc261d1b39
parent900dbe7fd107b3dc575ba322d1eb91b9b25042ef
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