From patchwork Wed Oct 18 11:31:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 116263 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5951556qgn; Wed, 18 Oct 2017 04:31:39 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SixkOcjQRHeIxRYIhs0I4QrkvIIL2YOzT6oBKPXiAmtM5Fy5B0amuO8LczZK/TFySOBOls X-Received: by 10.223.165.65 with SMTP id j1mr6904947wrb.206.1508326299006; Wed, 18 Oct 2017 04:31:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508326299; cv=none; d=google.com; s=arc-20160816; b=vbJluIxr3jQGQtk0nzcm+T6nkjO4OLJtMBx9++aOmlMpfrKHUTwiSW4dz8TI4vbdu+ u+u2eZooZ28ew6dy+U17patoNZvuiiXT/+IxioXhtvhynl0fbpfYbaHn1+Wo9wKqZ/F+ 52zAB9NfVro03r1heglt2KUi5Muhh1ryYjn99e0pxhf7ehKEZ5+qhgC0L5gynYse+oF7 8Qi87D6LBjpo3xHPzFrdI+o4keVmKu3dmDtqLpA9s/QQJ+NTIpZp0dmVln+XNTK2zu4y Xq31u+Dwpg4yi4SnlNVf/4iBAocyBISyALWNV9JrckOXN9bjsHKV5NzduAeFKlBQGypT IBIg== 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=ZfTMzi/zmNUJ0RJaImFvQAlTzQ6WCOcLL0N79Px94Ss=; b=TMlHwmei5qi1PH1211dWpjJuRmiEeUue3M/JifWOQr6i/N29r3cTCf6MmPpNv93Q1B 3qTxZyk+9GM3kMFqw7S3ANBF2c7RC8EoVdviO7JYI7Fl4BjqEJJssUUBFAtmTQmxow8L 16chDELdE10eIdE5dJicoTVXf0EXvvbfokRDn8DI8SB8fPq0ZgCO1cxdf4M3neLeL5sD AFX4xCyCWuxnNGC40gcgmKelUbcpdIcBLAKuM6frMskB25+koAKq2eMCOuAdZT7Ej9Y2 FDlJ431E+x2pqLgNAGpWbVMVeE3Bxrev1YKGZ5+qCJys+/+4XIsPSw4//s2OgnML+Aj2 DA5g== 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=iS06DvXf; 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 u139si8572078wmd.3.2017.10.18.04.31.38; Wed, 18 Oct 2017 04:31:38 -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=iS06DvXf; 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 3EC14267472; Wed, 18 Oct 2017 13:31:26 +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 68BB8267472; Wed, 18 Oct 2017 13:31:25 +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, 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 C622E26745A for ; Wed, 18 Oct 2017 13:31:21 +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=EpEqLIgISNaB36u05hYKxfRGjXDPxYzZpXqsTX44HjM=; b=iS06DvXfUUpd xZZ8O/0QdxAmo+O+lobVVRD5FzKL9ratDsc9wr7Vu64vtL0nTNNKzAZuWbq9/S2i6J4InHu1chZ2r UfOq4qf35mK1ydyc9uWTfqmiZ1jlxuV3diA+oxxQBTmbW/p6Cq6DLOZQrrUG//FpQcajtQyrkhHFn kuVEc=; 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 1e4mZC-0007Wa-CT; Wed, 18 Oct 2017 11:31:18 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1e4mZB-0003xM-W5; Wed, 18 Oct 2017 12:31:18 +0100 From: Mark Brown To: Pierre-Louis Bossart In-Reply-To: <20171005185243.4174-6-pierre-louis.bossart@linux.intel.com> Message-Id: Date: Wed, 18 Oct 2017 12:31:17 +0100 Cc: alsa-devel@alsa-project.org, tiwai@suse.de, Liam Girdwood , vinod.koul@intel.com, broonie@kernel.org, Andy Shevchenko Subject: [alsa-devel] Applied "ASoC: Intel: bytcht_da7213: cosmetic fixes" 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: bytcht_da7213: cosmetic fixes 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 22a317a0505d11db3ab08f4e4b25d3064228af02 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Thu, 12 Oct 2017 18:38:00 -0500 Subject: [PATCH] ASoC: Intel: bytcht_da7213: cosmetic fixes Reorder variable names, change tests No functional change Suggested-by: Andy Shevchenko Signed-off-by: Pierre-Louis Bossart Acked-by: Liam Girdwood Reviewed-by: Andy Shevchenko Signed-off-by: Mark Brown --- sound/soc/intel/boards/bytcht_da7213.c | 6 +++--- 1 file changed, 3 insertions(+), 3 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/boards/bytcht_da7213.c b/sound/soc/intel/boards/bytcht_da7213.c index 18873e23f404..24070bc06040 100644 --- a/sound/soc/intel/boards/bytcht_da7213.c +++ b/sound/soc/intel/boards/bytcht_da7213.c @@ -231,12 +231,12 @@ static char codec_name[16]; /* i2c-:00 with HID being 8 chars */ static int bytcht_da7213_probe(struct platform_device *pdev) { - int ret_val = 0; - int i; struct snd_soc_card *card; struct sst_acpi_mach *mach; const char *i2c_name = NULL; int dai_index = 0; + int ret_val = 0; + int i; mach = (&pdev->dev)->platform_data; card = &bytcht_da7213_card; @@ -253,7 +253,7 @@ static int bytcht_da7213_probe(struct platform_device *pdev) /* fixup codec name based on HID */ i2c_name = sst_acpi_find_name_from_hid(mach->id); - if (i2c_name != NULL) { + if (i2c_name) { snprintf(codec_name, sizeof(codec_name), "%s%s", "i2c-", i2c_name); dailink[dai_index].codec_name = codec_name;