]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf2c1097c76d4d0143bcc650646fdf1843a98430b
treed42c4bae95d91a8ac41c7dd0a7903cc57887f8fb
parenta4e98009fcd15793a85ae28c919828a9b5d2c38e
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