summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorCezary Rojewski <cezary.rojewski@intel.com>2026-10-07 15:33:47 +0200
committerMark Brown <broonie@kernel.org>2026-10-12 23:55:48 +0100
commit0f2bec6921f0971c2fc2f8bb5a93229b6546dded (patch)
treea2a4118e05cbdf34efc6831bd2252f309d4bfd3c /scripts/Makefile.thinlto
parent995b96380ba5d98131acc162608da3538e1395d8 (diff)
downloadlinux-0f2bec6921f0971c2fc2f8bb5a93229b6546dded.tar.gz
linux-0f2bec6921f0971c2fc2f8bb5a93229b6546dded.zip
ASoC: core: Add component constructor
There is a gap between snd_soc_component_alloc() and snd_soc_register_component(). A driver that obtains a component object through snd_soc_component_alloc() receives an object in uninitialized state. soc_component_initialize() is the function responsible for bringing it into a sane one but it is not accessible by the framework users. The framework shall prevent manipulation of uninitialized components. Introduce snd_soc_component_new() which acts as a constructor: allocates and initializes the component object before returning it to the caller. Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://patch.msgid.link/20261007133353.455185-2-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions