diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2026-07-23 06:34:24 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-08-05 00:39:26 +0100 |
| commit | de182d84b3a73f93fbd524843bcf6987bae76120 (patch) | |
| tree | 6ca99a93e482ca51a4984b3755a10c2d1a4424a5 /include | |
| parent | 23b64e9b9ba2feb1884386042ddbc4872aeab31b (diff) | |
| download | linux-de182d84b3a73f93fbd524843bcf6987bae76120.tar.gz linux-de182d84b3a73f93fbd524843bcf6987bae76120.zip | |
ASoC: soc-component: add snd_soc_component_alloc()
struct snd_soc_component will be capsuled soon, then, we will can't alloc
it. Adds snd_soc_component_alloc() to alloc it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/87v7a6rz80.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/soc-component.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc-component.h b/include/sound/soc-component.h index 4b7d7954953d..874559458bd5 100644 --- a/include/sound/soc-component.h +++ b/include/sound/soc-component.h @@ -283,6 +283,7 @@ static inline int snd_soc_component_cache_sync( return regcache_sync(component->regmap); } +struct snd_soc_component *snd_soc_component_alloc(struct device *dev); void snd_soc_component_set_aux(struct snd_soc_component *component, struct snd_soc_aux_dev *aux); int snd_soc_component_init(struct snd_soc_component *component); |
