Skip to contentSkip to conversation

config issue with SoundWire mockup device support

DISCUSSION Fabio Aiuto 2 participants 3 messages Sep 2, 2021 Staging

lore
Share & tools
lore
#0 lore raw

Dear Pierre and all sound developers,

I work for some tests on a Lenovo ideapad Miix 300-10IBY, with fedora 34 workstation intalled on.
After having pulled the last changes from staging tree I get the following issue by typing:

$ make olddefconfig

WARNING: unmet direct dependencies detected for SND_SOC_SDW_MOCKUP
Depends on [n]: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m]

	&& EXPERT [=n] && SOUNDWIRE [=y]
  Selected by [m]:
  - SND_SOC_INTEL_SOUNDWIRE_SOF_MACH [=m] && SOUND [=m] && !UML
	&& SND [=m] && SND_SOC [=m] && SND_SOC_INTEL_MACH [=y]
	&& SND_SOC_SOF_INTEL_SOUNDWIRE [=m] && I2C [=y] && ACPI [=y]
	&& GPIOLIB [=y] && (MFD_INTEL_LPSS [=y] || COMPILE_TEST [=n])
	&& (SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES [=y] || COMPILE_TEST [=n])
	&& SOUNDWIRE [=y] && SND_HDA_CODEC_HDMI [=m] && SND_SOC_SOF_HDA_AUDIO_CODEC [=y]

WARNING: unmet direct dependencies detected for SND_SOC_SDW_MOCKUP
Depends on [n]: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m]

	&& EXPERT [=n] && SOUNDWIRE [=y]
  Selected by [m]:
  - SND_SOC_INTEL_SOUNDWIRE_SOF_MACH [=m] && SOUND [=m] && !UML
	&& SND [=m] && SND_SOC [=m] && SND_SOC_INTEL_MACH [=y]
	&& SND_SOC_SOF_INTEL_SOUNDWIRE [=m] && I2C [=y] && ACPI [=y]
	&& GPIOLIB [=y] && (MFD_INTEL_LPSS [=y] || COMPILE_TEST [=n])
	&& (SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES [=y] || COMPILE_TEST [=n])
	&& SOUNDWIRE [=y] && SND_HDA_CODEC_HDMI [=m] && SND_SOC_SOF_HDA_AUDIO_CODEC [=y]

#
# No change to .config <--- this one gets written the first time
# this is an n-th run output

Attached the config file I took from my own fedora distribution (just lockdep was enabled).

Please tell me if you need more information on this issue.

Thank you,

fabio

#1 lore raw
Quoted 11 lines · Fabio Aiuto

Dear Pierre and all sound developers,

I work for some tests on a Lenovo ideapad Miix 300-10IBY, with fedora 34 workstation intalled on.
After having pulled the last changes from staging tree I get the following issue by typing:

$ make olddefconfig

WARNING: unmet direct dependencies detected for SND_SOC_SDW_MOCKUP
Depends on [n]: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m]

Quoted 8 lines
	&& EXPERT [=n] && SOUNDWIRE [=y]
  Selected by [m]:
  - SND_SOC_INTEL_SOUNDWIRE_SOF_MACH [=m] && SOUND [=m] && !UML
	&& SND [=m] && SND_SOC [=m] && SND_SOC_INTEL_MACH [=y]
	&& SND_SOC_SOF_INTEL_SOUNDWIRE [=m] && I2C [=y] && ACPI [=y]
	&& GPIOLIB [=y] && (MFD_INTEL_LPSS [=y] || COMPILE_TEST [=n])
	&& (SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES [=y] || COMPILE_TEST [=n])
	&& SOUNDWIRE [=y] && SND_HDA_CODEC_HDMI [=m] && SND_SOC_SOF_HDA_AUDIO_CODEC [=y]

It's a known issue that was reported and fixed by Nathan Chancellor:

[PATCH v2] ASoC: Intel: boards: Fix CONFIG_SND_SOC_SDW_MOCKUP select

https://lore.kernel.org/alsa-devel/[email protected]/

I'll ack the missing patch, thanks for reporting this.

#2 lore raw

Hi Pierre,

Quoted 23 lines · Pierre-Louis Bossart
Quoted 11 lines · Fabio Aiuto

Dear Pierre and all sound developers,

I work for some tests on a Lenovo ideapad Miix 300-10IBY, with fedora 34 workstation intalled on.
After having pulled the last changes from staging tree I get the following issue by typing:

$ make olddefconfig

WARNING: unmet direct dependencies detected for SND_SOC_SDW_MOCKUP
Depends on [n]: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m]

Quoted 8 lines
	&& EXPERT [=n] && SOUNDWIRE [=y]
  Selected by [m]:
  - SND_SOC_INTEL_SOUNDWIRE_SOF_MACH [=m] && SOUND [=m] && !UML
	&& SND [=m] && SND_SOC [=m] && SND_SOC_INTEL_MACH [=y]
	&& SND_SOC_SOF_INTEL_SOUNDWIRE [=m] && I2C [=y] && ACPI [=y]
	&& GPIOLIB [=y] && (MFD_INTEL_LPSS [=y] || COMPILE_TEST [=n])
	&& (SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES [=y] || COMPILE_TEST [=n])
	&& SOUNDWIRE [=y] && SND_HDA_CODEC_HDMI [=m] && SND_SOC_SOF_HDA_AUDIO_CODEC [=y]
Quoted 8 lines

It's a known issue that was reported and fixed by Nathan Chancellor:

[PATCH v2] ASoC: Intel: boards: Fix CONFIG_SND_SOC_SDW_MOCKUP select

https://lore.kernel.org/alsa-devel/[email protected]/

I'll ack the missing patch, thanks for reporting this.

you are welcome,

thanks for fast reply,

fabio