From patchwork Tue Aug 22 12:47:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 110652 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5223831obb; Tue, 22 Aug 2017 05:48:03 -0700 (PDT) X-Received: by 10.223.162.204 with SMTP id t12mr411880wra.2.1503406083412; Tue, 22 Aug 2017 05:48:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503406083; cv=none; d=google.com; s=arc-20160816; b=wEqNd0Xw7PS2HoxLC9bHMbyzLEdXFpWd6nCy9WMtEPazjg2F559ZoCLUBi87OKCqum +WMJ43bgirqIeugI/ZVXC+dzxbmMEW04B0biQV1uC9YbPxlLeN6gz12MqFIHVIGehjg5 PSHR+PtTjiGj3uN0feX+Sf+NhJk34rVasJlkgLmIi1N0JuxMOg3kJtqDGV8eEiUmglx5 9xhCJf0n8wCdgoabBWK3qAU7+T98P5dUJhJHFVDYtqMlAqvcYm4Ce7bsksu2jBoOHNDD hxAORuXTh4RbLbr4WjSUnezwzlI+0zMXbg7Pfu6etX0DyzqxZg6I1fJ8vjE4F/8Gza9k r+8w== 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=9u2iv9mGxx086H+1EroJHlS8k0fEqw42It3iAUW2u+0=; b=uam5oXmsr6ih+OMhiZrE2lVgtyI3Fj0cWPSoLwuu4tWWlNNSJ7v6hJzztYDHrA3wCV pUA8GT65FP9WGXT6jx67cDn7wZPa8tKTOJAM3ijObOWVe6e1or0tt/kAAsDuHvkYWIOG TR/9mBKZqqmIF9iq8g4Vrc600MaampL3Yfal3RFNKlBHss+DAQoKQYKv1UjPZrsDYM7C VjuEgm7TmGh17nhjVcOlw5fhjgMa/9Oxv6RSm6zMryvF52WdsZNGjYvEOO2HIZX2IHEf Iu8NrZyBoN4L319h8hrCKStmXUzhYkzjCx/13G7rzifUKW8QQNJC/kBM5+inigCXqDdR HyVA== 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=skx0rNxg; 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 e6si11137975wrc.122.2017.08.22.05.48.02; Tue, 22 Aug 2017 05:48:03 -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=skx0rNxg; 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 44981267623; Tue, 22 Aug 2017 14:47:36 +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 7523326761B; Tue, 22 Aug 2017 14:47:34 +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, URIBL_BLOCKED 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 CFEAD267618 for ; Tue, 22 Aug 2017 14:47:31 +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=i8wYD9rrRBQCMYvngOoumLefuI+lkM1Ee33Qu8M85fI=; b=skx0rNxgCjzD 9CYWahZ50m5JHvtmpGRw04HJX1vuIPrzrwOqdYrsKimfOckwaaJab3hPTPVEUL1ue5cA7az6NThxj C4wJQJLoHIYGHj7Q7N5afguRJRwPN4INWLYObaXKuvHaPpulx/ZKdqJGVHRB4I8nMdQDbaAgzdxw0 CqpaU=; Received: from [2001:470:1f1d:6b5:7e7a:91ff:fede:4a45] (helo=finisterre) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1dk8ah-0002g7-B6; Tue, 22 Aug 2017 12:47:31 +0000 Received: from broonie by finisterre with local (Exim 4.89) (envelope-from ) id 1dk8ag-0008SN-Sr; Tue, 22 Aug 2017 13:47:30 +0100 From: Mark Brown To: Takashi Iwai In-Reply-To: <20170822115951.6679-7-tiwai@suse.de> Message-Id: Date: Tue, 22 Aug 2017 13:47:30 +0100 Cc: alsa-devel@alsa-project.org, Mark Brown Subject: [alsa-devel] Applied "ASoC: pxa: Remove superfluous snd_soc_jack_free_gpios() call" 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: pxa: Remove superfluous snd_soc_jack_free_gpios() call 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 7676b40606666547544998e5bc9e7f492fa2e13f Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 22 Aug 2017 13:59:49 +0200 Subject: [PATCH] ASoC: pxa: Remove superfluous snd_soc_jack_free_gpios() call Since jack gpios are managed via devres, we don't have to call snd_jack_free_gpios() at release any longer. Signed-off-by: Takashi Iwai Signed-off-by: Mark Brown --- sound/soc/pxa/hx4700.c | 8 -------- 1 file changed, 8 deletions(-) -- 2.13.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/pxa/hx4700.c b/sound/soc/pxa/hx4700.c index a9ac881c2e14..6cdef5d4954e 100644 --- a/sound/soc/pxa/hx4700.c +++ b/sound/soc/pxa/hx4700.c @@ -138,13 +138,6 @@ static int hx4700_ak4641_init(struct snd_soc_pcm_runtime *rtd) return err; } -static int hx4700_card_remove(struct snd_soc_card *card) -{ - snd_soc_jack_free_gpios(&hs_jack, 1, &hs_jack_gpio); - - return 0; -} - /* hx4700 digital audio interface glue - connects codec <--> CPU */ static struct snd_soc_dai_link hx4700_dai = { .name = "ak4641", @@ -163,7 +156,6 @@ static struct snd_soc_dai_link hx4700_dai = { static struct snd_soc_card snd_soc_card_hx4700 = { .name = "iPAQ hx4700", .owner = THIS_MODULE, - .remove = hx4700_card_remove, .dai_link = &hx4700_dai, .num_links = 1, .dapm_widgets = hx4700_dapm_widgets,