]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9c406b3686be79e74c6b719cdb264f3d41d19b0
tree6e8391d1b22f78f568559773182dd9dc633d5e8e
parent0f3daafc924312a8fb9bb7dd48076c18143436b1
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