ASoC: Add helper functions for PCM runtime 'active' management
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 5 Mar 2014 12:17:43 +0000 (13:17 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 6 Mar 2014 09:04:55 +0000 (17:04 +0800)
commit24894b76468ed250d03f9718ddfe77b902995cbd
tree6e8391d1b22f78f568559773182dd9dc633d5e8e
parent208a1589db3e30767223d97e39e13237328e8a6e
ASoC: Add helper functions for PCM runtime 'active' management

We have the same code that increments and decrements the active field of the
various PCM runtime components (all with the same bugs). Factor this out into
common helper functions.

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