summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-08-20 13:08:48 +0200
committerMark Brown <broonie@linaro.org>2014-09-06 14:44:33 +0100
commit923976a30b36ce0970e88f53ed2f2b5b61aeeb73 (patch)
tree45f6103eb1890dde470fd46c114dbcb4aaeacd3e /include/sound
parentbd033808e2b160bab61cfe18b0ecb4ccc7809516 (diff)
downloadlinux-923976a30b36ce0970e88f53ed2f2b5b61aeeb73.tar.gz
linux-923976a30b36ce0970e88f53ed2f2b5b61aeeb73.tar.bz2
linux-923976a30b36ce0970e88f53ed2f2b5b61aeeb73.zip
ASoC: sst-haswell-pcm: Move controls and DAPM elements to component
The sst-haswell-pcm driver registers both a snd_soc_component and a snd_soc_platform and expects that the DAPM widgets for the DAIs registered by component are added to the DAPM context of the platform. This requires us to have a hack in the ASoC core which does so. Moving the DAPM elements over to the component allows us to remove this hack. While we are at it also move the controls over to the component. The controls don't need the platform for anything other than snd_soc_platform_get_drvdata(), this can easily be replaced by snd_soc_component_get_drvdata(). As the long term goal is to register only a single component this is a step in the right direction. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions