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

No differences found