]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: omap-mcbsp: Move out the FIFO check from set_threshold and get_delay
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 8 Nov 2018 07:29:57 +0000 (09:29 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 13 Nov 2018 17:50:19 +0000 (09:50 -0800)
commitdc4bef0a2799487689bc61e6528c1f66ffd94588
treed70d1e182d86a0eb6db00a5afb61e0a81e0f4935
parentf3c340b418153a4ffeab2f73c1419df90644ab73
ASoC: omap-mcbsp: Move out the FIFO check from set_threshold and get_delay

Check if the McBSP have FIFO in the omap_mcbsp_set_threshold() and
omap_mcbsp_dai_delay() delay function to skip calling the lower layer if
it is not needed.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Tested-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/omap/mcbsp.c
sound/soc/omap/omap-mcbsp.c