]> 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)
commite43798e779bd2e5d9c529b6b1972e324bb4fa842
treec0feb3d4ff8f66ef466419845d23c6859201117d
parent8d9b6f19160c503654e5e89a67b031a37888c674
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