aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc-dai.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-06-16 18:13:08 +0200
committerMark Brown <broonie@linaro.org>2014-06-21 21:34:15 +0100
commit14e8bdebfbc1d5c8804b3520233b2d4e516056bc (patch)
tree90e394978404a1c5ec420295ffe749aed80e356f /include/sound/soc-dai.h
parentASoC: Use component DAPM context for platforms (diff)
downloadlinux-dev-14e8bdebfbc1d5c8804b3520233b2d4e516056bc.tar.xz
linux-dev-14e8bdebfbc1d5c8804b3520233b2d4e516056bc.zip
ASoC: Add component level stream_event() and seq_notifier() support
This patch adds stream_event() and seq_notifier() callbacks similar to those found in the snd_soc_codec_driver and snd_soc_platform driver struct to the snd_soc_component_driver struct. This is meant to unify the handling of these callbacks across different types of components and will eventually allow their removal from the CODEC and platfrom driver structs. The new callbacks are slightly different from the old ones in that they take a snd_soc_component as a parameter rather than a snd_soc_dapm_context. This was done since otherwise casting from the DAPM context to the component would typically be the first thing to do in the callback. And the interface becomes slightly cleaner by passing a snd_soc_component to all callbacks in the snd_soc_component_driver struct. The patch also already removes the stream_event() callback from the snd_soc_codec_driver and snd_soc_platform_driver structs as it is currently unused. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound/soc-dai.h')
0 files changed, 0 insertions, 0 deletions