From patchwork Thu Jun 18 19:59:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michele Curti X-Patchwork-Id: 6640321 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DC783C0020 for ; Thu, 18 Jun 2015 20:00:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1E24120858 for ; Thu, 18 Jun 2015 20:00:43 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id C236E20845 for ; Thu, 18 Jun 2015 20:00:41 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 5298C26648D; Thu, 18 Jun 2015 22:00:38 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 7ED572662CA; Thu, 18 Jun 2015 22:00:31 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 06E2E2663FD; Thu, 18 Jun 2015 22:00:29 +0200 (CEST) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by alsa0.perex.cz (Postfix) with ESMTP id DAF472662CA for ; Thu, 18 Jun 2015 22:00:21 +0200 (CEST) Received: by wiga1 with SMTP id a1so3926306wig.0 for ; Thu, 18 Jun 2015 13:00:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=HIgmppr9QMD1co7RZCb9vi6u+dwk2u6Xmkz2o9VJtJ4=; b=pjns2pepGSq5kGczjvnDiQN5xX2A3qzUpBMiYpR/UUVzKHuQ8mRMq0aCVxrAEEQ7e6 SpiBV7ZXrGghrImGnhjgbrFmuEW8IcgEvqgMgbrA/aRWfjEcLi0HXQ0V82YBsMVDkTG5 A7Gcx0iJx5xbVYMP0AtbKX/NiysQV7XzTRQMoqS5B8cnt9ZKQJxy9FEcNxxcAvYagUyf H+blQR0vdHNPOOPWOv0Tbw1SBYBn0P7dfMayk17HhenhtEqwHNXNs8LaBjtlv7EFjJdR mFYa63nZD3ZKrZhj5mDoQ0H4BUVSK7rsMjWL9Rz0yypMzT3eEI7an04bz9pw2eLqpL1p yEyA== X-Received: by 10.194.81.67 with SMTP id y3mr18335725wjx.7.1434657622376; Thu, 18 Jun 2015 13:00:22 -0700 (PDT) Received: from asus.localdomain (adsl-ull-134-152.44-151.net24.it. [151.44.152.134]) by mx.google.com with ESMTPSA id fm8sm395359wib.9.2015.06.18.13.00.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Jun 2015 13:00:21 -0700 (PDT) From: Michele Curti To: lgirdwood@gmail.com Date: Thu, 18 Jun 2015 21:59:39 +0200 Message-Id: <1434657579-21581-1-git-send-email-michele.curti@gmail.com> X-Mailer: git-send-email 2.4.3 Cc: Michele Curti , alsa-devel@alsa-project.org, tiwai@suse.de, vinod.koul@intel.com, broonie@kernel.org, jarkko.nikula@linux.intel.com Subject: [alsa-devel] [PATCH] ASoC: Intel Kconfig: add SND_SOC_INTEL_BOARDS option X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Machine drivers under boards folder must be available for both SND_SST_MFLD_PLATFORM and SND_SOC_INTEL_SST. This patch adds a new kernel option SND_SOC_INTEL_BOARD to permit this. Signed-off-by: Michele Curti --- sound/soc/intel/Kconfig | 5 +++++ sound/soc/intel/Makefile | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig index f3060a4..c442cd7 100644 --- a/sound/soc/intel/Kconfig +++ b/sound/soc/intel/Kconfig @@ -10,7 +10,11 @@ config SND_MFLD_MACHINE Say Y if you have such a device If unsure select "N". +config SND_SOC_INTEL_BOARDS + tristate + config SND_SST_MFLD_PLATFORM + select SND_SOC_INTEL_BOARDS tristate config SND_SST_IPC @@ -28,6 +32,7 @@ config SND_SST_IPC_ACPI config SND_SOC_INTEL_SST tristate "ASoC support for Intel(R) Smart Sound Technology" select SND_SOC_INTEL_SST_ACPI if ACPI + select SND_SOC_INTEL_BOARDS depends on (X86 || COMPILE_TEST) depends on DW_DMAC_CORE help diff --git a/sound/soc/intel/Makefile b/sound/soc/intel/Makefile index 3853ec2..4c4bf74 100644 --- a/sound/soc/intel/Makefile +++ b/sound/soc/intel/Makefile @@ -7,4 +7,4 @@ obj-$(CONFIG_SND_SOC_INTEL_BAYTRAIL) += baytrail/ obj-$(CONFIG_SND_SST_MFLD_PLATFORM) += atom/ # Machine support -obj-$(CONFIG_SND_SOC_INTEL_SST) += boards/ +obj-$(CONFIG_SND_SOC_INTEL_BOARDS) += boards/