From patchwork Mon Apr 25 09:16:45 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: 566170 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 D85E5C433FE for ; Mon, 25 Apr 2022 09:18:03 +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 10FFB167C; Mon, 25 Apr 2022 11:17:11 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 10FFB167C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1650878281; bh=YIXbn23XFVGqK+W1CJsF1EMzHhiZ+xq98kpIgWB3q0U=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=uQOhSiFvyzV5la43MFGsgNqEY44Ul+Buqr5tUKs61RxuccH2GiQPK/2KcAKm4sAt3 cJoMwwgfu2ViMlzmrq07F47gravRr3BGmUfoimKgaQ0Jw2AKvq5sBQKCMI7QK2PqGL bcpZGLGFHqkYS+apyiKYz+FX5HVV05FX+VEidH4Y= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 84118F8016E; Mon, 25 Apr 2022 11:17:10 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 98DD1F8016B; Mon, 25 Apr 2022 11:17:08 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 4FA8DF8014B for ; Mon, 25 Apr 2022 11:17:00 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4FA8DF8014B Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Y2gSGJDR" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650878222; x=1682414222; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=YIXbn23XFVGqK+W1CJsF1EMzHhiZ+xq98kpIgWB3q0U=; b=Y2gSGJDR2qUGOn+IviCfPL3iik/0nf6WesFKfmbwqG3c4pzLEeXsUkcs oYhjygkRs5rGYZvQdrDqTzC3g1LxqMuwJ3sZtGxf4B2+jpxulX/52k6kb bWJACL1EkAS1GlU0QN01/1CMNeD+5m0F63AYuRpfz2XzS5cZcdL8g4VQL 8Lirbv7mCTPwOfwXkJHv7nVidY6C5W/JF/sjD9B/NhcGUwLiGPcErBzK9 LgpA5KD8fmLE5sVgxkHTi0eBQUZgLIJtyqbmACwP6nn8QqCUUXK1g0lsw 2TkknpQk5XIgxTMwM7kazvgNr3ybxX12+3Wd/eIc+2UOjNImdwuk34izM A==; X-IronPort-AV: E=McAfee;i="6400,9594,10327"; a="351640276" X-IronPort-AV: E=Sophos;i="5.90,287,1643702400"; d="scan'208";a="351640276" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2022 02:16:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,287,1643702400"; d="scan'208";a="579185821" Received: from dev2.igk.intel.com ([10.237.148.94]) by orsmga008.jf.intel.com with ESMTP; 25 Apr 2022 02:16:40 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Liam Girdwood , Mark Brown Subject: [PATCH v2 1/2] ASoC: Intel: avs: Enable AVS driver only on x86 platforms Date: Mon, 25 Apr 2022 11:16:45 +0200 Message-Id: <20220425091646.545216-1-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Cc: Pierre-Louis Bossart , Cezary Rojewski , 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" Only supported platform for AVS are x86 machines, so there is no reason for it to be enabled on other architectures. Allow exception for compile tests. Fixes: 274d79e51875 ("ASoC: Intel: avs: Configure modules according to their type") Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- Changes in v2: * Actually fix the problem reported by kernel test robot in following patch * Add COMPILE_TEST to allow test building on other architectures --- sound/soc/intel/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig index c364ddf22267..4ef9a1fee121 100644 --- a/sound/soc/intel/Kconfig +++ b/sound/soc/intel/Kconfig @@ -211,7 +211,8 @@ config SND_SOC_INTEL_KEEMBAY config SND_SOC_INTEL_AVS tristate "Intel AVS driver" - depends on PCI && ACPI + depends on (X86 && ACPI) || COMPILE_TEST + depends on PCI depends on COMMON_CLK select SND_SOC_ACPI select SND_SOC_TOPOLOGY