Skip to content

ASoC: core: Two step component registration

Cezary Rojewski alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: core: Relocate and expose snd_soc_component_initializeinclude/sound/soc-component.h include/sound/soc.h sound/soc/soc-component.c +1 more+20 -190 replies
2/3ASoC: core: Simplify snd_soc_component_initialize declarationinclude/sound/soc.h sound/soc/soc-core.c+9 -110 replies
3/3ASoC: core: Two step component registrationinclude/sound/soc.h sound/soc/soc-core.c sound/soc/soc-generic-dmaengine-pcm.c +1 more+32 -260 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] ASoC: core: Two step component registration

Provide a mechanism for true two-step component registration. This mimics device registration flow where initialization is the first step while addition goes as second in line. Drivers may choose to modify component's fields before registering component to ASoC subsystem via snd_soc_add_component.

Patchset achieves status quo - behavior of snd_soc_register_component remains unchanged.

Cezary Rojewski (3):
ASoC: core: Relocate and expose snd_soc_component_initialize
ASoC: core: Simplify snd_soc_component_initialize declaration
ASoC: core: Two step component registration

 include/sound/soc-component.h         |  3 --
 include/sound/soc.h                   | 11 +++---
 sound/soc/soc-component.c             | 16 ---------
 sound/soc/soc-core.c                  | 52 +++++++++++++++++----------
 sound/soc/soc-generic-dmaengine-pcm.c | 14 +++++---
 sound/soc/stm/stm32_adfsdm.c          |  9 +++--
 6 files changed, 55 insertions(+), 50 deletions(-)
Signature · 1 line
2.17.1