]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Move active count from CODEC to component
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 5 Mar 2014 12:17:47 +0000 (13:17 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 6 Mar 2014 09:04:55 +0000 (17:04 +0800)
commit4789d422ba192265dbacd4c5abb12c642825a497
treed810edb5e51f268dfb1005a8e74ba90cc3dd9f69
parent94141a8c195ddbd5a87168fcaf1790d13cec1c45
ASoC: Move active count from CODEC to component

There is no reason why active count tracking should only be done for CODECs but
not for other components. Moving the active count from the snd_soc_codec struct
to the snd_soc_component struct reduces the differences between CODECs and other
components and will eventually allow component to component DAI links (Which is
a prerequisite for converting CODECs to components).

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