alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] ASoC: sst-haswell-pcm: Move controls and DAPM elements to component
@ 2014-08-20 11:08 Lars-Peter Clausen
  2014-08-20 11:08 ` [PATCH 1/4] ASoC: Add snd_soc_component_{get, set}_drvdata() Lars-Peter Clausen
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Lars-Peter Clausen @ 2014-08-20 11:08 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Vinod Koul, alsa-devel, Lars-Peter Clausen, Subhransu S. Prusty

The sst-haswell-pcm driver is the only one that registers controls and DAPM
elements for a snd_soc_platform_driver. Moving them over to the component that
is registered by the same driver make it possible to remove the
steal_silbling_dai_hack in the core as well as the extra indirection that is
used to register the controls and DAPM elements.

Vinod, Subhransu, can you take a look at this and make sure it works as expected
and also keep this in mind for the new DPCM drivers?

Thanks,
- Lars

Lars-Peter Clausen (4):
  ASoC: Add snd_soc_component_{get,set}_drvdata()
  ASoC: sst-haswell-pcm: Alloc state struct in driver probe()
  ASoC: sst-haswell-pcm: Move controls and DAPM elements to component
  ASoC: Remove table based DAPM/control setup support from
    snd_soc_platform_driver

 include/sound/soc.h               | 28 ++++++++++---------
 sound/soc/intel/sst-haswell-pcm.c | 56 ++++++++++++++++++-------------------
 sound/soc/soc-core.c              | 58 ++++-----------------------------------
 3 files changed, 49 insertions(+), 93 deletions(-)

-- 
1.8.0

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-09-06 13:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-20 11:08 [PATCH 0/4] ASoC: sst-haswell-pcm: Move controls and DAPM elements to component Lars-Peter Clausen
2014-08-20 11:08 ` [PATCH 1/4] ASoC: Add snd_soc_component_{get, set}_drvdata() Lars-Peter Clausen
2014-09-03 12:22   ` Vinod Koul
2014-09-03 19:06     ` Lars-Peter Clausen
2014-09-04  6:33       ` Vinod Koul
2014-08-20 11:08 ` [PATCH 2/4] ASoC: sst-haswell-pcm: Alloc state struct in driver probe() Lars-Peter Clausen
2014-08-20 11:08 ` [PATCH 3/4] ASoC: sst-haswell-pcm: Move controls and DAPM elements to component Lars-Peter Clausen
2014-08-20 11:08 ` [PATCH 4/4] ASoC: Remove table based DAPM/control setup support from snd_soc_platform_driver Lars-Peter Clausen
2014-09-06 13:48 ` [PATCH 0/4] ASoC: sst-haswell-pcm: Move controls and DAPM elements to component Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).