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)
commitcdde4ccb14b4959bd1c96a07367bf02b746328d3
treed810edb5e51f268dfb1005a8e74ba90cc3dd9f69
parent6106d12947d1b05dc15ca3933eb514347d6ed726
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