]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: SOF: amd: Move depends on AMD_NODE to consumers
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 21 Feb 2025 18:18:12 +0000 (12:18 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 24 Feb 2025 15:00:57 +0000 (15:00 +0000)
commit91b75129149429bb16927cda8b5642c04c59e6b0
tree2689a09455eb8e513531857033fdbd0188d0ed2e
parent2fa56dae1a65e8124d417a31d7b02c37df013817
ASoC: SOF: amd: Move depends on AMD_NODE to consumers

CONFIG_SND_SOC_SOF_AMD_COMMON is a hidden option that is only selected by
other options.  It can't have a direct depends on AMD_NODE because select
can't pick another option automatically.

This was attempted to be fixed in commit b47834ee4485b ("ASoC: SOF: amd:
Add depends on CPU_SUP_AMD") but this just masked the issue as it was found
in another config.

Instead move the `depends on AMD_NODE` out of SND_SOC_SOF_AMD_COMMON to
all the consumers and drop `depends on CPU_SUP_AMD`.

Fixes: b47834ee4485b ("ASoC: SOF: amd: Add depends on CPU_SUP_AMD")
Fixes: f120cf33d232 ("ASoC: SOF: amd: Use AMD_NODE")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202502220104.a8P6ApQN-lkp@intel.com/
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://patch.msgid.link/20250221181840.2639793-1-superm1@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/amd/Kconfig