From patchwork Tue Apr 26 11:54:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 12826965 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B3109C433F5 for ; Tue, 26 Apr 2022 11:55:53 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 3204C17EB; Tue, 26 Apr 2022 13:55:01 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3204C17EB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1650974151; bh=qQH/PUPBW7jkGZAW36UYdakzLd3+/TslqdTXNQxSp48=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=odrEjJUsV5GmIz8uGm3SzEC7oiv06y3hUCwIeoFJ1oPWDk/F0b5hwvdgiC19Xep/s GCd1nwOKKJZ8b6Pz1gkORpW9FCUbpDL7SJZPGyOGZnDe+tz25zQs4M/gVmRZXJOlSD rnIXoGMwIf+Xu4+5tAma6USCVbToo7+AqPh+Qs3I= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 788C0F8014B; Tue, 26 Apr 2022 13:55:00 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id DA653F80105; Tue, 26 Apr 2022 13:54:58 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 4F27AF80105 for ; Tue, 26 Apr 2022 13:54:50 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4F27AF80105 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="iWDEOS4D" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650974096; x=1682510096; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=qQH/PUPBW7jkGZAW36UYdakzLd3+/TslqdTXNQxSp48=; b=iWDEOS4Db7jQsgLJ9ALzeKhvcwHmCWnmWDZPzl9cUibGAr81J/wY0rXR /LTW9xPNH7cbZrshAuyE0hhndWAGNilXaZ1NoAtgEQ3t6XtDFk8so8UD9 zFieyqAYNZsv625G8f6GwNZMt8eLAM9YwZM8bgs5htb0cCl5S/7QFBENd uGr0jQXlyNrUPyGjJhohjxKMfEPGCGttnmXhC0yK324L7bfKrCcrWXoas MeTxeet2exS4IXEHbsnTa9bX9qU+/bCRzgBU1pXfms6g+rWyfLHpFI0Dw Dzedcxh2ceX+5K+ER2fN0gKUHZ2M1z1S+48tClKTv49QofuhlPxhgT+4r A==; X-IronPort-AV: E=McAfee;i="6400,9594,10328"; a="265075119" X-IronPort-AV: E=Sophos;i="5.90,290,1643702400"; d="scan'208";a="265075119" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2022 04:54:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,290,1643702400"; d="scan'208";a="564547877" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga007.fm.intel.com with ESMTP; 26 Apr 2022 04:54:46 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Liam Girdwood , Mark Brown Subject: [PATCH] ASoC: Intel: avs: Depend on CONFIG_ACPI Date: Tue, 26 Apr 2022 13:54:54 +0200 Message-Id: <20220426115454.685787-1-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Cc: Pierre-Louis Bossart , Cezary Rojewski , kernel test robot , alsa-devel@alsa-project.org, Takashi Iwai , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Apparently the assumption that driver can build without ACPI was too optimistic as avs selects SND_SOC_ACPI which requires working ACPI implementation. So depend on ACPI without COMPILE_TEST alternative. Fixes: 47a1886a610a ("ASoC: Intel: avs: Enable AVS driver only on x86 platforms") Reported-by: kernel test robot Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig index be42c4eff165..9fdd6e32951f 100644 --- a/sound/soc/intel/Kconfig +++ b/sound/soc/intel/Kconfig @@ -211,8 +211,8 @@ config SND_SOC_INTEL_KEEMBAY config SND_SOC_INTEL_AVS tristate "Intel AVS driver" - depends on (X86 && ACPI) || COMPILE_TEST - depends on PCI + depends on X86 || COMPILE_TEST + depends on PCI && ACPI depends on COMMON_CLK select SND_SOC_ACPI select SND_SOC_TOPOLOGY