ASoC: core: Two step component registration
authorCezary Rojewski <cezary.rojewski@intel.com>
Fri, 31 Jul 2020 14:41:46 +0000 (16:41 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 31 Jul 2020 18:35:59 +0000 (19:35 +0100)
commitea029dd8d0124fcd5db1c7003e87a7bd4ddb3bad
treee9c1030e49fe0ce0ee4b3a591c8ffb8f1ced2e19
parent7274d4cd8506bbff9bf2d7c2f73b2febff99abef
ASoC: core: Two step component registration

Modify snd_soc_add_component so it calls snd_soc_component_initialize
no longer and thus providing true two-step registration. Drivers may
choose to change component's fields before actually adding it to ASoC
subsystem.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20200731144146.6678-4-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c
sound/soc/soc-generic-dmaengine-pcm.c
sound/soc/stm/stm32_adfsdm.c