From patchwork Sat Oct 21 10:30:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 116604 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2624367qgn; Sat, 21 Oct 2017 03:31:22 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Q7dPix5AKktWrVbOVwFTIr1LlPHbTnYIKryx3p71n8caKcY0QteNNFoe+KVvaIIGZqSaC2 X-Received: by 10.28.55.71 with SMTP id e68mr1194100wma.139.1508581882126; Sat, 21 Oct 2017 03:31:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508581882; cv=none; d=google.com; s=arc-20160816; b=xgKC1MvwpvM8R+1AT3PMqlI/hIRuyTq7sYEGnpWvQWhSyc4aYVH0jjIHMD7p7Wwm3j jUMqCKFx761EuSge47V7wvePBA9fszwLcvbN+g3Op8TS5llX+KomHjtdBBehYUYFWCp7 bOcVVzTTqohR6WHWSwaKoZjM7FbiKSaybX/O7u3Z9WJZ2njy4wUpn4PxcGvaFajsZ/vD 0yjFHqQTB4ZW7FlJX3MIdU9UL0udS4UQRiD1xNG3e0UE7KEGQMm3vZVDqpTaGMP9W442 mzRvQjbMTx45dg2QsC7UxT+LXeOhGksmMCZba73ywMk30NYRLC9/l4rQtWupUoortwb6 TQFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=zWlowxWFakp4v85vUoKIl5nyfMROVHFyLkC9LUMYsgc=; b=g3XuGVmRb23zSesuyVZK9nPK4n+U8gllLtXZIGl4ybn8cI4TBjwNE8eZrS5uFSB/fM WSe76gc/aTOroMQbtWYAKQ9OB27VrFxeywnkcepMB4e33rXAYkjUNL3sRgDaMQpkLlWf kgBjb9c2EDsXW2gavjay5nRFOgyhooEnJ+PnI6U0c65D7d/X0yOQd55gTFFKg2rRMBuc hjhn5VBpUciwKcHZ5+TuLnuTy6O/v3cBcOeqGa3EBBNAGyUFstHSeiE9P8f4yCTkpBv1 yKatraXFXqgpR0bL2oCnIhtsxP++0eDPUc+rriRbY8CbGBON6IEHN3BT/ullD+/EVaPX oQLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=tTXnqeRb; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id f12si537138wme.202.2017.10.21.03.31.21; Sat, 21 Oct 2017 03:31:22 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=tTXnqeRb; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id D73A8267777; Sat, 21 Oct 2017 12:30:59 +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 3166326717C; Sat, 21 Oct 2017 12:30:56 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RP_MATCHES_RCVD, SPF_PASS autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id 42F94266DCF for ; Sat, 21 Oct 2017 12:30:47 +0200 (CEST) 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=zWbeeOTR3FDHXN2ra2KLhi1jdmdTqrN8B3zC/mF/VmY=; b=tTXnqeRbvjXe ofz/qubP7CgD+iwQzbA/oUCFhGUwQ8xFZMaS0XIUV7xS5hDjQJv4PrCKAiDZPxzU82//0Dsiix1gi 3iFmU8Yd+lBYH60MOtjmEfUF7/FKrQNGv4Do6yXmHkp0Jd0m6U9qhrXHgQGUCaRhx3wPIypsunhCv BD0bg=; Received: from 188.29.164.97.threembb.co.uk ([188.29.164.97] helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1e5r3F-0003ul-NY; Sat, 21 Oct 2017 10:30:46 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 3858A440057; Sat, 21 Oct 2017 11:30:43 +0100 (BST) From: Mark Brown To: Pierre-Louis Bossart In-Reply-To: <20170908205702.1985-3-pierre-louis.bossart@linux.intel.com> Message-Id: <20171021103043.3858A440057@finisterre.ee.mobilebroadband> Date: Sat, 21 Oct 2017 11:30:43 +0100 (BST) Cc: liam.r.girdwood@linux.intel.com, tiwai@suse.de, alsa-devel@alsa-project.org, broonie@kernel.org, vinod.koul@intel.com Subject: [alsa-devel] Applied "ASoC: Intel: common: use c99 syntax for ACPI/machine tables" to the asoc tree 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 The patch ASoC: Intel: common: use c99 syntax for ACPI/machine tables has been applied to the asoc tree at git://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 928c8a8f1188dd59065e22bcedae57cb6156d836 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Thu, 12 Oct 2017 18:49:39 -0500 Subject: [PATCH] ASoC: Intel: common: use c99 syntax for ACPI/machine tables Before we add new fields for SOF support, move to C99 syntax as done for atom/sst and legacy hsw/bdw code No functional change Signed-off-by: Pierre-Louis Bossart Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- sound/soc/intel/common/sst-acpi.c | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) -- 2.14.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/intel/common/sst-acpi.c b/sound/soc/intel/common/sst-acpi.c index 9866998de8be..32d74ba70e4a 100644 --- a/sound/soc/intel/common/sst-acpi.c +++ b/sound/soc/intel/common/sst-acpi.c @@ -180,7 +180,11 @@ static int sst_acpi_remove(struct platform_device *pdev) } static struct snd_soc_acpi_mach haswell_machines[] = { - { "INT33CA", "haswell-audio", "intel/IntcSST1.bin", NULL, NULL, NULL }, + { + .id = "INT33CA", + .drv_name = "haswell-audio", + .fw_filename = "intel/IntcSST1.bin", + }, {} }; @@ -198,8 +202,16 @@ static struct sst_acpi_desc sst_acpi_haswell_desc = { }; static struct snd_soc_acpi_mach broadwell_machines[] = { - { "INT343A", "broadwell-audio", "intel/IntcSST2.bin", NULL, NULL, NULL }, - { "RT5677CE", "bdw-rt5677", "intel/IntcSST2.bin", NULL, NULL, NULL }, + { + .id = "INT343A", + .drv_name = "broadwell-audio", + .fw_filename = "intel/IntcSST2.bin", + }, + { + .id = "RT5677CE", + .drv_name = "bdw-rt5677", + .fw_filename = "intel/IntcSST2.bin", + }, {} }; @@ -218,8 +230,16 @@ static struct sst_acpi_desc sst_acpi_broadwell_desc = { #if !IS_ENABLED(CONFIG_SND_SST_IPC_ACPI) static struct snd_soc_acpi_mach baytrail_machines[] = { - { "10EC5640", "byt-rt5640", "intel/fw_sst_0f28.bin-48kHz_i2s_master", NULL, NULL, NULL }, - { "193C9890", "byt-max98090", "intel/fw_sst_0f28.bin-48kHz_i2s_master", NULL, NULL, NULL }, + { + .id = "10EC5640", + .drv_name = "byt-rt5640", + .fw_filename = "intel/fw_sst_0f28.bin-48kHz_i2s_master", + }, + { + .id = "193C9890", + .drv_name = "byt-max98090", + .fw_filename = "intel/fw_sst_0f28.bin-48kHz_i2s_master", + }, {} };