ASoC: fsl: fix SND_SOC_IMX_RPMSG dependency
authorArnd Bergmann <arnd@arndb.de>
Fri, 14 May 2021 21:31:14 +0000 (23:31 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 18 May 2021 13:01:53 +0000 (14:01 +0100)
commitcdf112d4c65f83065793b73b49363123517fdb71
tree5faf91ce526c907087c237376f3ac827d0bdad09
parent0e49a4de4564b3659a34b0b775d43b6b635b17fa
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: Arnd Bergmann <arnd@arndb.de>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Link: https://lore.kernel.org/r/20210514213118.630427-1-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/Kconfig