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>
Showing
Please register or sign in to comment