ASoC: SOF: nocodec: fix undefined reference
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 10 May 2019 16:38:03 +0000 (11:38 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 13 May 2019 11:36:56 +0000 (12:36 +0100)
commit8d01c3c73cefbb5bacffe804427daed3e6051435
tree7be554f3fbb572b2d692f0e47ab2dacb38e68663
parent7f6647ced298d56027218e47619b7f0d925fc83e
ASoC: SOF: nocodec: fix undefined reference

The nocodec option can be selected individually, leading to the following
issue:

sound/soc/sof/core.o: In function `snd_sof_device_probe':
core.c:(.text+0x4af): undefined reference to `sof_nocodec_setup'

Fix by selecting the SND_SOF_NOCODEC option as needed.

Reported-by: Hulk Robot <hulkci@huawei.com>
Reported-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/Kconfig