diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-08-20 13:08:48 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-09-06 14:44:33 +0100 |
commit | 923976a30b36ce0970e88f53ed2f2b5b61aeeb73 (patch) | |
tree | 45f6103eb1890dde470fd46c114dbcb4aaeacd3e /include/sound | |
parent | bd033808e2b160bab61cfe18b0ecb4ccc7809516 (diff) |
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