]> git.baikalelectronics.ru Git - kernel.git/commit
Merge series "ASoC: core: Two step component registration" from Cezary Rojewski ...
authorMark Brown <broonie@kernel.org>
Fri, 31 Jul 2020 18:36:00 +0000 (19:36 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 31 Jul 2020 18:36:00 +0000 (19:36 +0100)
commit3b6d694f9a4d4fb83cabc82c522ca00a7bb6f8a5
tree45fb6c3ee046d9ae4d893c4ffc10d8d5ee9c9e9e
parentaab5e5e77e0b45b502429deec6c3dba415aa93b6
parent434a5252e99547a0f36e90d4f599f6ea153fb1e6
Merge series "ASoC: core: Two step component registration" from Cezary Rojewski <cezary.rojewski@intel.com>:

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(-)

--
2.17.1