]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Makefile: Fix randconfig sof-client build when SND_SOC_SOF=y
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Mon, 14 Feb 2022 07:13:30 +0000 (09:13 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 14 Feb 2022 18:30:51 +0000 (18:30 +0000)
commit0b7210979d5f11f852c6ddca5c9aa34471074d8f
tree70022e56dd0804d320027a88cc96b1b608983024
parent4a8d351160c24cf0fb9212f1fa69d336a2a049e2
ASoC: SOF: Makefile: Fix randconfig sof-client build when SND_SOC_SOF=y

Intel's kernel test robot found the following randconfig combination:
SND_SOC_SOF=y
SND_SOC_SOF_CLIENT=m

In this the sof-client object is not going to be built into the snd-sof.o
and we will have undefined references to the sof-client functions.

Fixes: 1db6d8a05c8e ("ASoC: SOF: Introduce IPC SOF client support")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Peter Ujfalusi <Peter Ujfalusi <peter.ujfalusi@linux.intel.com>>
Link: https://lore.kernel.org/r/20220214071330.22151-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/Makefile