[alsa-devel] [PATCH v2 0/2][RFC] snd_soc_codec include snd_soc_component

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Tue Sep 3 03:43:33 CEST 2013


Hi Mark, Lars

This is 2nd version of codec <-> component merge patch.
Basically, 1st patch is almost same as v1 version,
but the differences are...
 - "component" moves to upside of "codec" (to avoid extra declaration)
 - register_component had "allow_single_dai" flag
   to control dai/dais function.
   Now, we can keep codec dai name

2nd patch adds component_driver on wm8978 (as trial).
It is not needed at this point, since current component doesn't
check whether component_driver was NULL.
But we will need/use it in the future.

What do you think about this series ?
I can send "use component" patch for all codecs
if you want me it.

Kuninori Morimoto (2):
      [RFC] ASoC: snd_soc_codec includes snd_soc_component
      [RFC] ASoC: wm8978: use component

 include/sound/soc.h       |   33 ++++----
 sound/soc/codecs/wm8978.c |    4 +
 sound/soc/soc-core.c      |  200 +++++++++++++++++++++++++--------------------
 3 files changed, 134 insertions(+), 103 deletions(-)

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list