From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 939AB28382; Thu, 13 Feb 2025 14:35:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739457356; cv=none; b=BsSP44MALOujozDAyphfy+n5qU6pxMmtC4C7UGmlAG7gtztC0d1F0M0pPrD/GLPrwKJ9XP4I0+LBA355BZwqZWMvdCMwJeWHbVd9HiYEnvJnle6lRtAAAbhP8J08+wQBc7DOPD0WqQ+M2tE+/X9sf2Z1J/rOFUOelDHAIhslmNU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739457356; c=relaxed/simple; bh=n0Um2Ul87qVUeTPDLbjEwfdH/2EW6Ksn7W4a9VoTlNI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WjqzVzgHbjdg1UNUKnbWDArcOSHkVXvAZQ9bxOwup1cfX45a9rLBQceUwKigVhid0OUr9QFeLLC8Q6kk14uCeNulTsN0xa+B5tRKrP4mYXeWc5Pymq40VQNf9pgt94vP7MoYvo6G706EjFrxUawi+g9iWpJGFh5Kf+9GtUAoRgc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BGdni0dl; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="BGdni0dl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 006DBC4CED1; Thu, 13 Feb 2025 14:35:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1739457356; bh=n0Um2Ul87qVUeTPDLbjEwfdH/2EW6Ksn7W4a9VoTlNI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BGdni0dlkVEObIk42Rhm/OKEHYD7zrvYSYYWzfrKNgAkE1V8X+cUfqENhcuVXntGp YneNA/aDCk02SB1RDQ6QoHF7VBAlt9ldkUsDGg3wVeqi1fN7ZJnKVd2T/I03Pr57dp eP5hPth2/EqJuHNSFl/euogIye8JO6MPp4QCPIGw= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, kernel test robot , Yu-Chun Lin , Mark Brown , Sasha Levin Subject: [PATCH 6.12 085/422] ASoC: amd: Add ACPI dependency to fix build error Date: Thu, 13 Feb 2025 15:23:54 +0100 Message-ID: <20250213142439.834897399@linuxfoundation.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250213142436.408121546@linuxfoundation.org> References: <20250213142436.408121546@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Yu-Chun Lin [ Upstream commit 7e24ec93aecd12e33d31e38e5af4625553bbc727 ] As reported by the kernel test robot, the following error occurs: sound/soc/amd/yc/acp6x-mach.c: In function 'acp6x_probe': >> sound/soc/amd/yc/acp6x-mach.c:573:15: error: implicit declaration of function 'acpi_evaluate_integer'; did you mean 'acpi_evaluate_object'? [-Werror=implicit-function-declaration] 573 | ret = acpi_evaluate_integer(handle, "_WOV", NULL, &dmic_status); | ^~~~~~~~~~~~~~~~~~~~~ | acpi_evaluate_object cc1: some warnings being treated as errors The function 'acpi_evaluate_integer' and its prototype in 'acpi_bus.h' are only available when 'CONFIG_ACPI' is enabled. Add a 'depends on ACPI' directive in Kconfig to ensure proper compilation. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202501090345.pBIDRTym-lkp@intel.com/ Signed-off-by: Yu-Chun Lin Link: https://patch.msgid.link/20250109171547.362412-1-eleanor15x@gmail.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/amd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/amd/Kconfig b/sound/soc/amd/Kconfig index 6dec44f516c13..c2a5671ba96b0 100644 --- a/sound/soc/amd/Kconfig +++ b/sound/soc/amd/Kconfig @@ -105,7 +105,7 @@ config SND_SOC_AMD_ACP6x config SND_SOC_AMD_YC_MACH tristate "AMD YC support for DMIC" select SND_SOC_DMIC - depends on SND_SOC_AMD_ACP6x + depends on SND_SOC_AMD_ACP6x && ACPI help This option enables machine driver for Yellow Carp platform using dmic. ACP IP has PDM Decoder block with DMA controller. -- 2.39.5