diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2022-12-02 18:28:36 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-12-05 17:05:28 +0300 |
commit | ed914a2a45a45e7d8f900ae8997ca4573792afcc (patch) | |
tree | 62e6955e78b50ad3db38a65e039644b5f8de0f1b /sound/soc/intel/avs/pcm.c | |
parent | 700462f55493c6831ad71b209eaebe310dcf11fd (diff) | |
download | linux-ed914a2a45a45e7d8f900ae8997ca4573792afcc.tar.xz |
ASoC: Intel: avs: Data probing soc-component
Define stub component for data probing. Stub as most operations from
standard PCM case do not apply here. Specific bits are CPU DAIs and
compress_ops. FE DAIs can link against these new CPU DAI to create new
compress devices.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20221202152841.672536-12-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/avs/pcm.c')
-rw-r--r-- | sound/soc/intel/avs/pcm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/intel/avs/pcm.c b/sound/soc/intel/avs/pcm.c index 70d687fa9923..f930c5e86a84 100644 --- a/sound/soc/intel/avs/pcm.c +++ b/sound/soc/intel/avs/pcm.c @@ -1126,9 +1126,9 @@ static const struct snd_soc_component_driver avs_component_driver = { .topology_name_prefix = "intel/avs", }; -static int avs_soc_component_register(struct device *dev, const char *name, - const struct snd_soc_component_driver *drv, - struct snd_soc_dai_driver *cpu_dais, int num_cpu_dais) +int avs_soc_component_register(struct device *dev, const char *name, + const struct snd_soc_component_driver *drv, + struct snd_soc_dai_driver *cpu_dais, int num_cpu_dais) { struct avs_soc_component *acomp; int ret; |