diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-02-10 10:36:58 -0600 |
---|---|---|
committer | Daniel Baluta <daniel.baluta@nxp.com> | 2020-02-21 17:22:10 +0200 |
commit | 1750be151e2845c09144c31d47f06d7153fa7b0b (patch) | |
tree | 856e282426f1b74f67009df3d16a0c0b77f1884f /sound/soc/sof | |
parent | 452aee67ca049b4d60fe0ad9fddcbfa30cdbe4d1 (diff) |
MLK-23350-9 ASoC: SOF: imx: fix undefined reference issue
make.cross ARCH=mips allyesconfig fails with the following error:
sound/soc/sof/sof-of-dev.o:(.data.sof_of_imx8mp_desc+0x40): undefined
reference to `sof_imx8m_ops'
This seems to be a Makefile order issue, solve by using the same
structure as for Intel platforms.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Diffstat (limited to 'sound/soc/sof')
-rw-r--r-- | sound/soc/sof/imx/Kconfig | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sound/soc/sof/imx/Kconfig b/sound/soc/sof/imx/Kconfig index 37cd539770f9..70167363372e 100644 --- a/sound/soc/sof/imx/Kconfig +++ b/sound/soc/sof/imx/Kconfig @@ -21,8 +21,7 @@ config SND_SOC_SOF_IMX8_SUPPORT If unsure select "N". config SND_SOC_SOF_IMX8 - def_tristate SND_SOC_SOF_OF - depends on SND_SOC_SOF_IMX8_SUPPORT + tristate config SND_SOC_SOF_IMX8M_SUPPORT bool "SOF support for i.MX8M" @@ -33,7 +32,11 @@ config SND_SOC_SOF_IMX8M_SUPPORT If unsure select "N". config SND_SOC_SOF_IMX8M + tristate + +config SND_SOC_SOF_IMX def_tristate SND_SOC_SOF_OF - depends on SND_SOC_SOF_IMX8_SUPPORT + select SND_SOC_SOC_IMX8 if SND_SOC_SOF_IMX8_SUPPORT + select SND_SOC_SOC_IMX8M if SND_SOC_SOF_IMX8M_SUPPORT endif ## SND_SOC_SOF_IMX_IMX_TOPLEVEL |