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)
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

Simple merge
Simple merge
Simple merge