linux_dsm_epyc7002/sound/soc/sof
Pierre-Louis Bossart b030ba7f12 ASoC: SOF: Intel: soundwire: fix select/depend unmet dependencies
[ Upstream commit bd9038faa9d7f162b47e1577e35ec5eac39f9d90 ]

The LKP bot reports the following issue:

WARNING: unmet direct dependencies detected for SOUNDWIRE_INTEL
  Depends on [m]: SOUNDWIRE [=m] && ACPI [=y] && SND_SOC [=y]
  Selected by [y]:
  - SND_SOC_SOF_INTEL_SOUNDWIRE [=y] && SOUND [=y] && !UML &&
  SND [=y] && SND_SOC [=y] && SND_SOC_SOF_TOPLEVEL [=y] &&
  SND_SOC_SOF_INTEL_TOPLEVEL [=y] && SND_SOC_SOF_INTEL_PCI [=y]

This comes from having tristates being configured independently, when
in practice the CONFIG_SOUNDWIRE needs to be aligned with the SOF
choices: when the SOF code is compiled as built-in, the
CONFIG_SOUNDWIRE also needs to be 'y'.

The easiest fix is to replace the 'depends' with a 'select' and have a
single user selection to activate SoundWire on Intel platforms. This
still allows regmap to be compiled independently as a module.

This is just a temporary fix, the select/depend usage will be
revisited and the SOF Kconfig re-organized, as suggested by Arnd
Bergman.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: a115ab9b8b ('ASoC: SOF: Intel: add build support for SoundWire')
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210122005725.94163-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-02-03 23:28:47 +01:00
..
imx ASoC: SOF: imx: add missing MODULE_LICENSE() for imx-common 2020-09-21 17:28:11 +01:00
intel ASoC: SOF: Intel: soundwire: fix select/depend unmet dependencies 2021-02-03 23:28:47 +01:00
xtensa ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
compress.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
compress.h ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
control.c ASoC: SOF: control: add size checks for ext_bytes control .put() 2020-09-21 23:14:47 +01:00
core.c ASoC: SOF: core: fix null-ptr-deref bug during device removal 2020-07-08 15:02:02 +01:00
debug.c ASoC: SOF: debug: update test for pm_runtime_get_sync() 2020-09-17 15:53:17 +01:00
ipc.c ASoC: SOF: IPC: reduce verbosity of IPC pointer updates 2020-08-25 20:39:37 +01:00
Kconfig ASoC: Intel: use consistent HDAudio spelling in comments/docs 2020-08-25 20:39:39 +01:00
loader.c ASoC: SOF: loader: handle all SOF_IPC_EXT types 2020-10-23 18:28:52 +01:00
Makefile ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
nocodec.c ASoC: SOF: nocodec: add missing .owner field 2020-06-26 13:35:11 +01:00
ops.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
ops.h ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
pcm.c Linux 5.9-rc5 2020-10-06 16:19:24 +01:00
pm.c ASoC: SOF: pm: Fix prepare callback behavior for OF usecase 2020-09-21 17:28:10 +01:00
probe.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
probe.h ASoC: SOF: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
sof-acpi-dev.c ASoC: SOF: acpi: add dev_dbg() log for probe completion 2020-08-25 20:39:38 +01:00
sof-audio.c ASoC: SOF: remove several superfluous type-casts 2020-09-17 15:53:19 +01:00
sof-audio.h ASoC: SOF: Implement snd_sof_bytes_ext_volatile_get kcontrol IO 2020-09-08 13:55:00 +01:00
sof-of-dev.c ASoC: SOF: Add .prepare/.complete callbacks 2020-09-25 18:53:12 +01:00
sof-pci-dev.c ASoC: SOF: pm: Fix prepare callback behavior for OF usecase 2020-09-21 17:28:10 +01:00
sof-priv.h ASoC: SOF: Intel: hda: reduce verbosity of boot error logs 2020-09-17 15:53:21 +01:00
topology.c ASoC: SOF: topology: fix the process being scheduled on core0 always 2020-09-21 17:28:08 +01:00
trace.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
utils.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00