Received: by 10.192.165.156 with SMTP id m28csp2053920imm; Thu, 12 Apr 2018 07:54:30 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+dnfCyUl2kUFh4EauLsnO0aWOK4iAIto7usDbf1ecuIPA6Z8aWy0ke+0wRZ0CuaYQyQKYB X-Received: by 10.99.121.77 with SMTP id u74mr943426pgc.89.1523544870443; Thu, 12 Apr 2018 07:54:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523544870; cv=none; d=google.com; s=arc-20160816; b=wyEQt4QtWm5exhAL7gr2Tq5arosr3UTpLAHGBJ/SYkRitAnvUBjLy12DFPWd5gmO9B kDxFv54Qmg1MtzShdquS7RTXuhfoZvTFcNZKL81nDUFa4XoHZ169NOxwhrxk9R2SpTCC 25CEHY2U+HfF+rWDCeLpImkODcWqBDsYpJ5rwwDSIlMsV6jMKUSgg+YwbNPXXh1mNEtW 2ZaTp9BIDOpwEOe4SIj3DMQX25J8tR7LhK117x/k/iWL6HEao5jkNuU+nIRlUVWYJYcV m35AKhGAGyn4HLuXOI+0DxJGqbNkQz6BmMaAzCciIfEoK17gHbkcvuCcnpJwQPDduZ8H 2jOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=tRJyzc+AcNcTiVoTNlnX8vRmQ6wTR+m8tQETnlOIfkY=; b=d389AHmtvJIW/V98KhvsLx8O1t9uSjEYMRKfCQ6eZZHJr4keIusXeyt7u/8LBBiaGm cDlkUVUmkLtAQ6J80MLAdPdliS2JEbXHLzHd9y68yOa8+luRSmrAcsROrBugx/EtfEfT 1YdYAKKqKYqA5lC/BBE/CroNBOFfDQb1bMUANLg2JLJdmYm7C130metKwUEgPs6hwzLE MVuUHDytyvFmTFoNEfn+oBRGURjIhYiTFK0BLb95/q5CvKRZ7dAKVCEdHZE2rXHsr7bw OsIPpnmwORh6WJ9xnaOmdlq9D/qHAfCFibHDiZZa2ybvsD1nuzvRCqa42lcTUtL4X1ea mDjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=RVAIhMa2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k63si2784050pfh.372.2018.04.12.07.53.53; Thu, 12 Apr 2018 07:54:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=RVAIhMa2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753155AbeDLOsC (ORCPT + 99 others); Thu, 12 Apr 2018 10:48:02 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:53970 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752831AbeDLOsA (ORCPT ); Thu, 12 Apr 2018 10:48:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=tRJyzc+AcNcTiVoTNlnX8vRmQ6wTR+m8tQETnlOIfkY=; b=RVAIhMa2UHWr XslM3L7gafWq4lHf86gK3jI3kF8Gb4GKBpD5J8pep34k8NGqDKESxD3+qAxIhIuChqZKvKO4vhxLQ PCNTkcdCUAYub2rnLGEOv14qdHT2xTbyvICjUdQ0jF/wERCHczBkj6SBlrAg3EqFdlZxUgkGQ6+m7 99jJI=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1f6dVv-0005sx-LD; Thu, 12 Apr 2018 14:47:51 +0000 Received: from broonie by debutante with local (Exim 4.90_1) (envelope-from ) id 1f6dVv-00057S-5Q; Thu, 12 Apr 2018 15:47:51 +0100 From: Mark Brown To: Pierre-Louis Bossart Cc: Arnd Bergmann , Mark Brown , alsa-devel@alsa-project.org, Arnd Bergmann , Vinod Koul , linux-kernel@vger.kernel.org, Takashi Iwai , liam.r.girdwood@linux.intel.com, Harsha Priya N , Mark Brown , Naveen M , Andy Shevchenko , Daniel Drake , alsa-devel@alsa-project.org Subject: Applied "ASoC: Intel: atom: fix ACPI/PCI Kconfig" to the asoc tree In-Reply-To: <20180124002712.28984-1-pierre-louis.bossart@linux.intel.com> Message-Id: Date: Thu, 12 Apr 2018 15:47:51 +0100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: Intel: atom: fix ACPI/PCI Kconfig has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From 90619eb1dc4f19357fef5e9c13c6c9beead0fd80 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Mon, 2 Apr 2018 12:06:14 -0500 Subject: [PATCH] ASoC: Intel: atom: fix ACPI/PCI Kconfig The split between ACPI and PCI platforms generated issues with randconfig: with SND_SST_ATOM_HIFI2_PLATFORM_PCI=y and SND_SST_ATOM_HIFI2_PLATFORM=m, we get this module link failure: ERROR: "sst_context_init" [sound/soc/intel/atom/sst/snd-intel-sst-acpi.ko] undefined! ERROR: "sst_context_cleanup" [sound/soc/intel/atom/sst/snd-intel-sst-acpi.ko] undefined! ERROR: "sst_alloc_drv_context" [sound/soc/intel/atom/sst/snd-intel-sst-acpi.ko] undefined! ERROR: "intel_sst_pm" [sound/soc/intel/atom/sst/snd-intel-sst-acpi.ko] undefined! ERROR: "sst_configure_runtime_pm" [sound/soc/intel/atom/sst/snd-intel-sst-acpi.ko] undefined! To keep things simple, let's expose two configs for SND_SST_ATOM_HIFI2_PLATFORM_PCI and SND_SST_ATOM_HIFI2_PLATFORM_ACPI, which select a common SND_SST_ATOM_HIFI2_PLATFORM option. To avoid breaking existing solutions with the semantics change, SND_SST_ATOM_HIFI2_PLATFORM_ACPI uses "default ACPI" so that "make oldnoconfig" and "make olddefconfig" still work as expected. Also remove mentions of Medfield while we are at it since it was removed recently. Reported-by: Arnd Bergmann Fixes: 4772c16ede52 ("ASoC: Intel: Kconfig: Simplify-clarify ACPI/PCI dependencies") Signed-off-by: Pierre-Louis Bossart Reviewed-by: Andy Shevchenko Acked-By: Vinod Koul Signed-off-by: Mark Brown --- sound/soc/intel/Kconfig | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig index ceb105cbd461..addac2a8e52a 100644 --- a/sound/soc/intel/Kconfig +++ b/sound/soc/intel/Kconfig @@ -72,24 +72,28 @@ config SND_SOC_INTEL_BAYTRAIL for Baytrail Chromebooks but this option is now deprecated and is not recommended, use SND_SST_ATOM_HIFI2_PLATFORM instead. +config SND_SST_ATOM_HIFI2_PLATFORM + tristate + select SND_SOC_COMPRESS + config SND_SST_ATOM_HIFI2_PLATFORM_PCI - tristate "PCI HiFi2 (Medfield, Merrifield) Platforms" + tristate "PCI HiFi2 (Merrifield) Platforms" depends on X86 && PCI select SND_SST_IPC_PCI - select SND_SOC_COMPRESS + select SND_SST_ATOM_HIFI2_PLATFORM help - If you have a Intel Medfield or Merrifield/Edison platform, then + If you have a Intel Merrifield/Edison platform, then enable this option by saying Y or m. Distros will typically not - enable this option: Medfield devices are not available to - developers and while Merrifield/Edison can run a mainline kernel with - limited functionality it will require a firmware file which - is not in the standard firmware tree + enable this option: while Merrifield/Edison can run a mainline + kernel with limited functionality it will require a firmware file + which is not in the standard firmware tree -config SND_SST_ATOM_HIFI2_PLATFORM +config SND_SST_ATOM_HIFI2_PLATFORM_ACPI tristate "ACPI HiFi2 (Baytrail, Cherrytrail) Platforms" + default ACPI depends on X86 && ACPI select SND_SST_IPC_ACPI - select SND_SOC_COMPRESS + select SND_SST_ATOM_HIFI2_PLATFORM select SND_SOC_ACPI_INTEL_MATCH select IOSF_MBI help -- 2.17.0