Commit cdf112d4 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Mark Brown

ASoC: fsl: fix SND_SOC_IMX_RPMSG dependency

Kconfig produces a warning with SND_SOC_FSL_RPMSG=y and SND_IMX_SOC=m:

WARNING: unmet direct dependencies detected for SND_SOC_IMX_RPMSG
  Depends on [m]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_IMX_SOC [=m] && RPMSG [=y]
  Selected by [y]:
  - SND_SOC_FSL_RPMSG [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && COMMON_CLK [=y] && RPMSG [=y] && SND_IMX_SOC [=m]!=n

Add a dependency to prevent this configuration.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarShengjiu Wang <shengjiu.wang@gmail.com>
Link: https://lore.kernel.org/r/20210514213118.630427-1-arnd@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 0e49a4de
...@@ -119,6 +119,7 @@ config SND_SOC_FSL_RPMSG ...@@ -119,6 +119,7 @@ config SND_SOC_FSL_RPMSG
tristate "NXP Audio Base On RPMSG support" tristate "NXP Audio Base On RPMSG support"
depends on COMMON_CLK depends on COMMON_CLK
depends on RPMSG depends on RPMSG
depends on SND_IMX_SOC || SND_IMX_SOC = n
select SND_SOC_IMX_RPMSG if SND_IMX_SOC != n select SND_SOC_IMX_RPMSG if SND_IMX_SOC != n
help help
Say Y if you want to add rpmsg audio support for the Freescale CPUs. Say Y if you want to add rpmsg audio support for the Freescale CPUs.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment