ASoC: Add helper functions to cast from DAPM context to CODEC/platform
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 18 May 2014 12:24:12 +0000 (14:24 +0200)
committerMark Brown <broonie@linaro.org>
Sun, 1 Jun 2014 18:16:47 +0000 (19:16 +0100)
commit24089e04cb1b4975bafd6368ab8b92082ebf6ad7
treed42c4bae95d91a8ac41c7dd0a7903cc57887f8fb
parent15b8e94f7460a1285766555011a0feb68e618ecb
ASoC: Add helper functions to cast from DAPM context to CODEC/platform

This is useful if we have a pointer to a DAPM context and know that it is a
CODEC or platform DAPM context and want to get a pointer to the CODEC or
platform.

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