[PATCH v9 12/17] ASoC: qdsp6: audioreach: add Kconfig and Makefile

Mark Brown broonie at kernel.org
Mon Oct 25 17:49:50 CEST 2021


On Wed, Oct 06, 2021 at 12:39:45PM +0100, Srinivas Kandagatla wrote:
> Now that all the code for audioreach and q6apm are in at this point to be
> able to compile, start adding Kconfig and Makefile changes.

This doesn't compile with current code for arm64 defconfig:

/mnt/kernel/sound/soc/qcom/qdsp6/q6apm.c: In function 'q6apm_audio_remove':
/mnt/kernel/sound/soc/qcom/qdsp6/q6apm.c:703:2: error: too few arguments to function 'snd_soc_tplg_component_remove'
  703 |  snd_soc_tplg_component_remove(component);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /mnt/kernel/include/sound/soc-dapm.h:15,
                 from /mnt/kernel/include/sound/soc.h:386,
                 from /mnt/kernel/sound/soc/qcom/qdsp6/q6apm.c:15:
/mnt/kernel/include/sound/soc-topology.h:191:19: note: declared here
  191 | static inline int snd_soc_tplg_component_remove(struct snd_soc_component *comp,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This will be with the stub for !SND_SOC_TOPOLOGY, the index argument has
been removed for the actual implementation but not for the stub, the fix
is in the header.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20211025/eafdac44/attachment.sig>


More information about the Alsa-devel mailing list