Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4617524pxj; Wed, 12 May 2021 09:20:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyebrXQQ5zTJPwbTQ0vhZlZ+gZy26/NGZg8+jc9lpiKicq3oHBIxDeGDu+O0vs/YKhWPN4a X-Received: by 2002:a05:651c:550:: with SMTP id q16mr4040486ljp.433.1620836406185; Wed, 12 May 2021 09:20:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620836406; cv=none; d=google.com; s=arc-20160816; b=WZ1J/wq8AzQsiJRfIsIpXs/xEV1gx1DDIb8s5BVrcjT+U7oq1wmrc9hp4F0i4TAz1l OeTg9j1BwinHCGCbueE+kcDx1fAmFejdycrWEYP/ExDsKvcGIo9L1T0LSKdFAFuTaoJJ KZj3u01wNk4pVa6pq6i/JIV9I9WE81Pa5Z2F299i+K+DnHhMQ7bNRZ8YtHboDvEmUf1S +L+53ZQorPEH/mmcHxqWztMGB/4SUZDpONomYKNf++w9jCWngIijTMR7VLzgKssPNTU8 r1f0I5FdCOZHxK43rzpREY/WrUCGve8IOAn+hIQV77gkj+IgbkOa3ngpUQFiNkvLUe8T lbiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=hoIHg7sz9zUrp3Qhv9FSXZTMAivz9M7ldHTh+Z2bN3o=; b=Rr3up/piR4+B7ywdnTQq42zRcoutaB7v1F6KsPse+Wg2F6+BFLxQe1WD9FYq7+00X/ 3QC+Z1xa67bdZNjdZiMnVltCiPVNcdDmFXLnJL0wHwqH4aG0NE2j3E6G6YewalSp424E 8byW7U+ianGANdHJXKoeCF1Q0mR/9DDpDsNhxNZM6MYEDqe18CQAKy6LNmlAcY9K7rhF PRE9N/KgHZPIxzcgNoSmgtL8Wu9PXsd13ywid/gMDOjl+r3x6IOCc3eIgrIkaP7ekM87 DR0j5KSRjgpxlYScbiLV9+QovcyXr75AvteeJELfF0/LcyN3IZLAP1PMNFyZBzyAfrrj 6XvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XbJ9mKTN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z23si386512lfq.329.2021.05.12.09.19.35; Wed, 12 May 2021 09:20:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XbJ9mKTN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239914AbhELQQ2 (ORCPT + 99 others); Wed, 12 May 2021 12:16:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:48794 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234520AbhELPdG (ORCPT ); Wed, 12 May 2021 11:33:06 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5D1F661C47; Wed, 12 May 2021 15:16:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620832612; bh=lWAe6F9r8Lrfds6fQrRTVqqyjx7rt38dkj+xdRnVuwc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XbJ9mKTNvJMmaagHGw8LD1LtwcHelKBWFjqNkiD8KOOKR31Tkf1dFwAzkBiTZ/Ylr wz0BR08lqh5BUjkU8sqOKEVkvn/NSIlXvpPYGgv83/M8lWM9x15rdn9IummL8j0TbC DgowZbZHODunAN5JCYDEZDn+MXd5nwqMV3Ha7N38= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kai-Heng Feng , =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= , Cezary Rojewski , Mark Brown , Sasha Levin Subject: [PATCH 5.10 351/530] ASoC: Intel: Skylake: Compile when any configuration is selected Date: Wed, 12 May 2021 16:47:41 +0200 Message-Id: <20210512144831.316631109@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144819.664462530@linuxfoundation.org> References: <20210512144819.664462530@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Cezary Rojewski [ Upstream commit 1b99d50b9709a2cddaba4a7faf1862b4f7bec865 ] Skylake is dependent on SND_SOC_INTEL_SKYLAKE (aka "all SST platforms") whereas selecting specific configuration such as KBL-only will not cause driver code to compile. Switch to SND_SOC_INTEL_SKYLAKE_COMMON dependency so selecting any configuration causes the driver to be built. Reported-by: Kai-Heng Feng Suggested-by: Amadeusz Sławiński Fixes: 35bc99aaa1a3 ("ASoC: Intel: Skylake: Add more platform granularity") Signed-off-by: Cezary Rojewski Link: https://lore.kernel.org/r/20210125115441.10383-1-cezary.rojewski@intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/Makefile | 2 +- sound/soc/intel/skylake/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/intel/Makefile b/sound/soc/intel/Makefile index 4e0248d2accc..7c5038803be7 100644 --- a/sound/soc/intel/Makefile +++ b/sound/soc/intel/Makefile @@ -5,7 +5,7 @@ obj-$(CONFIG_SND_SOC) += common/ # Platform Support obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += atom/ obj-$(CONFIG_SND_SOC_INTEL_CATPT) += catpt/ -obj-$(CONFIG_SND_SOC_INTEL_SKYLAKE) += skylake/ +obj-$(CONFIG_SND_SOC_INTEL_SKYLAKE_COMMON) += skylake/ obj-$(CONFIG_SND_SOC_INTEL_KEEMBAY) += keembay/ # Machine support diff --git a/sound/soc/intel/skylake/Makefile b/sound/soc/intel/skylake/Makefile index dd39149b89b1..1c4649bccec5 100644 --- a/sound/soc/intel/skylake/Makefile +++ b/sound/soc/intel/skylake/Makefile @@ -7,7 +7,7 @@ ifdef CONFIG_DEBUG_FS snd-soc-skl-objs += skl-debug.o endif -obj-$(CONFIG_SND_SOC_INTEL_SKYLAKE) += snd-soc-skl.o +obj-$(CONFIG_SND_SOC_INTEL_SKYLAKE_COMMON) += snd-soc-skl.o #Skylake Clock device support snd-soc-skl-ssp-clk-objs := skl-ssp-clk.o -- 2.30.2