]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Add helper function for changing the DAI link format
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 6 Jan 2015 14:17:20 +0000 (15:17 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 7 Jan 2015 18:01:57 +0000 (18:01 +0000)
commit5b189b462d82bb2d0854a7940628e1ffe321da63
treec0feb3d4ff8f66ef466419845d23c6859201117d
parenta361f1c652493598444c49d26630332124018354
ASoC: Add helper function for changing the DAI link format

For some setups it is necessary to change the DAI link format at runtime.
This patch factors out the code that does the initial static DAI link format
configuration into a separate helper function which can be used board
drivers as well.

This allows board drivers that have to change the DAI link format at runtime
to reuse it instead of having to manually change the format on all DAIs.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c