]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: core: Add delay operation to snd_soc_dai_ops
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Wed, 3 Mar 2010 13:08:07 +0000 (15:08 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 3 Mar 2010 17:08:41 +0000 (17:08 +0000)
commitb4ff0626b20896148bf8af3277021826c679f4a9
treef2c9966e8d53db3c2fbf027407d45e2fd1b7f38d
parentc2d41999890b28673812efa6ad7672cad6858a1c
ASoC: core: Add delay operation to snd_soc_dai_ops

The delay callback can be used by the core to query the delay
on the dai caused by FIFO or delay in the platform side.
In case if both CPU and CODEC dai has FIFO the delay reported
by each will be added to form the full delay on the chain.
If none of the dai has FIFO, than the delay will be kept as
zero.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc-dai.h
include/sound/soc.h
sound/soc/soc-core.c