Skip to content

Commit cdf112d

Browse files
arndbbroonie
authored andcommitted
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 <[email protected]> Acked-by: Shengjiu Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 0e49a4d commit cdf112d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/soc/fsl/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ config SND_SOC_FSL_RPMSG
119119
tristate "NXP Audio Base On RPMSG support"
120120
depends on COMMON_CLK
121121
depends on RPMSG
122+
depends on SND_IMX_SOC || SND_IMX_SOC = n
122123
select SND_SOC_IMX_RPMSG if SND_IMX_SOC != n
123124
help
124125
Say Y if you want to add rpmsg audio support for the Freescale CPUs.

0 commit comments

Comments
 (0)