Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3740888imm; Mon, 18 Jun 2018 03:19:33 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLNi8zoB/ErYHz/v6ZvJm8bIr6lONVJoJ4qAd3gN+3Lsm02IMhhNuNlFEznk+A66/Ig0Ypa X-Received: by 2002:a62:d97:: with SMTP id 23-v6mr12920983pfn.202.1529317173355; Mon, 18 Jun 2018 03:19:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529317173; cv=none; d=google.com; s=arc-20160816; b=U9j/YQFPq4MSb90DPgNc7LC3YKmM50pw9xVgmcY+4BJa20jIZzvZwAD7CJnk6hez3W BkVCFRySHH4M7IvZIjAqHZBYcUMbKm0E3rR0s/Vqvu4bQGGXYT5eUZr8FkctVmn0qibv uYflb0S7SLn5NbBxSpxDDBkk8rtxU8DvwkzNAfjdkdMuhpsxX6omllwMKxAtD6a9WVd2 bQg78bzt5mIUoP7m+QyLgTzoDlUDcwZsTAjy5tlhu34hflac33FWwUzrnBXpJD+ThBYK PSk2CzdCTDCxdp2M1gmKrnMlIl6qCK4Fkcc4lMkei8c9887D58E7aUPpa+naLwfzx/+n B8hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=OOFmp88OPYCQVRTCCG3Witk3oLRbCPA5mlrDbrQUetA=; b=wBqOApmgk0EDGAwWpG0a233Ixg3nIbU9cnXBS5qXHU4YTOjrZaSlRnQTC9jtnCJSTd aO1TYb+5WCFCHZ4xlscjlahwR8lLInB9lkMdN9n0XAmTMwVvfBx5g3HP6fusm43tqGha +1b6XDFlQhUfZFZrfp7Q8gDBWrkowgrMqYNWU9KSi+kftsz0CMyJQt7MfkFdgdgZ5ak7 1XaeIpnPMx78PR7jpk87H68TJmdBrRkuyPjaRxr/m0cU9Hm8q7mGXjG6jgUvWIYHPQlp Dj0FQaJIPY+RMvQWJ/sOhEVpRGZ16hTqhTQ97e1QmGxzWEvd+j4Gin4ISzlPPtjh8u8c O5rw== ARC-Authentication-Results: i=1; mx.google.com; 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 m26-v6si14675633pfe.306.2018.06.18.03.19.19; Mon, 18 Jun 2018 03:19:33 -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; 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 S933914AbeFRIPi (ORCPT + 99 others); Mon, 18 Jun 2018 04:15:38 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:52814 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933763AbeFRIPd (ORCPT ); Mon, 18 Jun 2018 04:15:33 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 0D4BAC74; Mon, 18 Jun 2018 08:15:32 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Pierre-Louis Bossart , Andy Shevchenko , Vinod Koul , Mark Brown , Sasha Levin Subject: [PATCH 4.16 004/279] ASoC: Intel: atom: fix ACPI/PCI Kconfig Date: Mon, 18 Jun 2018 10:09:49 +0200 Message-Id: <20180618080609.025142850@linuxfoundation.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180618080608.851973560@linuxfoundation.org> References: <20180618080608.851973560@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Pierre-Louis Bossart [ Upstream commit 90619eb1dc4f19357fef5e9c13c6c9beead0fd80 ] 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 Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- sound/soc/intel/Kconfig | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) --- 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