summaryrefslogtreecommitdiffstats
path: root/include/sound/soc-dapm.h
diff options
context:
space:
mode:
authorLars-Peter Clausen2015-04-27 22:13:22 +0200
committerMark Brown2015-04-27 22:34:45 +0200
commit39ed68c8cd3aff417603a95d0594308598b9f469 (patch)
treea3af4936f6a3204051bec4ca20cb38901caf43d5 /include/sound/soc-dapm.h
parentLinux 4.1-rc1 (diff)
downloadkernel-qcow2-linux-39ed68c8cd3aff417603a95d0594308598b9f469.tar.gz
kernel-qcow2-linux-39ed68c8cd3aff417603a95d0594308598b9f469.tar.xz
kernel-qcow2-linux-39ed68c8cd3aff417603a95d0594308598b9f469.zip
ASoC: Add helper function getting CODEC's DAPM context
The DAPM context in the snd_soc_codec struct is redundant and scheduled to be replaced by the DAPM context in the snd_soc_component struct. This patch introduces a new helper function snd_soc_codec_get_dapm() which should be used for getting the DAPM context for a CODEC rather then directly accessing the dapm field. Once there are no more direct users of the dapm field left it is possible to transparently switch all drivers to the component DAPM context by updating snd_soc_codec_get_dapm() function. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc-dapm.h')
0 files changed, 0 insertions, 0 deletions