Skip to content

Commit f83d38d

Browse files
Chancel Liubroonie
authored andcommitted
ASoC: imx-rpmsg: SND_SOC_IMX_RPMSG should depend on OF and I2C
SND_SOC_IMX_RPMSG should depend on OF and I2C. It fixes the following error reported by kernel test robot: ld: sound/soc/fsl/imx-rpmsg.o: in function `imx_rpmsg_late_probe': imx-rpmsg.c:(.text+0x4f): undefined reference to `i2c_find_device_by_fwnode' Fixes: 5d9f746 ("ASoC: imx-rpmsg: Force codec power on in low power audio mode") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202311230506.DPF9vvYY-lkp@intel.com/ Signed-off-by: Chancel Liu <chancel.liu@nxp.com> Link: https://lore.kernel.org/r/20231125065300.6385-1-chancel.liu@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 1805a6d commit f83d38d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sound/soc/fsl/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ config SND_SOC_IMX_HDMI
360360
config SND_SOC_IMX_RPMSG
361361
tristate "SoC Audio support for i.MX boards with rpmsg"
362362
depends on RPMSG
363+
depends on OF && I2C
363364
select SND_SOC_IMX_PCM_RPMSG
364365
select SND_SOC_IMX_AUDIO_RPMSG
365366
help

0 commit comments

Comments
 (0)