summaryrefslogtreecommitdiff
path: root/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2018-04-24 16:39:03 +0100
committerMark Brown <broonie@kernel.org>2018-04-26 12:24:48 +0100
commit1e57b82891ade3fd71c030077901808a6e5376ab (patch)
tree711ccdbb8852545731fe390f8b68bef1fef72009 /sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
parentef050bece1b5564b2c7135ceadc0d5ffdcf152f7 (diff)
ASoC: compress: Add helper functions for component open/free
There are 2 loops calling open and 4 loops calling free for all the components on a DAI link. Factor out these loops into helper functions to make the code a little clearer. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Acked-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/mt2701/mt2701-afe-pcm.c')
0 files changed, 0 insertions, 0 deletions