diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-04-29 14:51:22 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-29 18:40:51 +0200 |
commit | c471fdd1b6f41a8e4efc8ca684e47005e7ebbb61 (patch) | |
tree | ed1349fb8d47fa0236a01fe7776dd3a182f2edab /sound/soc/tegra/tegra_wm8903.c | |
parent | ASoC: dapm: Allow update_bits use 32 bits reg (diff) | |
download | linux-c471fdd1b6f41a8e4efc8ca684e47005e7ebbb61.tar.xz linux-c471fdd1b6f41a8e4efc8ca684e47005e7ebbb61.zip |
ASoC: dapm: Factor out duplicated code in soc_dapm_stream_event()
In soc_dapm_stream_event() we have the same code twice, once for the codec_dai
and once for the cpu_dai. This patch factors the duplicated code out into a
separate function. This will make it easier to modify the implementation (since
there is only one place that needs to be updated) and also easier to add support
for more than two DAIs per DAI link.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/tegra/tegra_wm8903.c')
0 files changed, 0 insertions, 0 deletions