From patchwork Mon Mar 19 01:03:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 131991 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2147575ljb; Sun, 18 Mar 2018 18:03:59 -0700 (PDT) X-Google-Smtp-Source: AG47ELvDrSTTG7QX6lOdvlxojnv53YkXVmhijJoYUYe7Ojcjpu8uOvQjLxNW9sw/5Q5Pc0beDp5X X-Received: by 10.223.145.99 with SMTP id j90mr8147583wrj.152.1521421439319; Sun, 18 Mar 2018 18:03:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521421439; cv=none; d=google.com; s=arc-20160816; b=MUZf8klRTqByoPF/xtl3l1MbolMo5WtOV7cJ/TlamCHThS36Ss1GgVjlCFhvwhXm5x t+oBXiqLvSnXlNDsVhtOS0VGdHN9P5RixswWaLlE62kfYZM7ZT9juC31UXWim8HpmOPp 5sWASvoYDlpZRGjVjKXfNj6unSQibAD7QHdOP9i++k5hHEHtxhkrAv5GDqqvZeZj7exO 9BWPshVRSCPcU5mcLkckAYptZZrzx18sIxgJN2Wvoz7gSqjb1QuykUygx+dVdSjodKtd U34MZ1qRwSVxQFPRSsj6fqm6I4sXEsr+2aEmCJ0vFGxWnH7/HgEGM0IDQv9RxZUNqL5r Q2EQ== 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=dTuX6yTboUoxdpVZuNqJKv8dVsvNXVq4uTfK+qgw8lk=; b=srJrhrFl3zFK2SbcgbJLHecg53MBKFdRvin3nJ7GblWzk4hJ/X9+8fyBpaXMzDyX0D N8l/cpBI3CnDTFQPZSa2dPo55oYSM8ftXJsV0tNgpT+7FU9/MtywecVtb4s2txgENm/4 /LRH0LD/rP+fX2DdxqQn5uK1J6hN2jhg4ydtjdcfaHBmAsL51mHOUkOAuXBZ/WIM+JQo CbPm6+ESnsEYLnMzdWiLbFCWPXr19HlRwJe/763fLDkccLtIIy2HYk0u7fgw/pFOfPai yCTKfUGPBSj+Hny0yzvPsaFrFptOsnz4k9GESfLG6Q/iWyeHt9UKFmW2PmreD7grn+aR C9cQ== 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=OxNrknPy; 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 5si3684874wrp.295.2018.03.18.18.03.59; Sun, 18 Mar 2018 18:03:59 -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=OxNrknPy; 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 7A3A726737B; Mon, 19 Mar 2018 02:03:40 +0100 (CET) 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 04369267377; Mon, 19 Mar 2018 02:03:35 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, SPF_PASS, T_RP_MATCHES_RCVD 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 80239267344 for ; Mon, 19 Mar 2018 02:03:34 +0100 (CET) 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=SB4l0b4W0jd4h7aOscvtXzI9g1TsXdoQDpXTboMo0Rk=; b=OxNrknPyvHbR fp2t8V5t25HLZxlxGI5Sahjbz95ptHK4/G8dqAQ7P/I50OgHI+3h9d2K8R/nh42qrtkche9YpwAxU WtQTXPrNgUPiNaTaTsh42hoSPJG+G6GpUuRuM4PzHGW2dK7kvZH8GwWADNvE28DCGzFlLx7ogHoW/ EVrsU=; Received: from [218.255.99.6] (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 1exjCx-00066r-3v; Mon, 19 Mar 2018 01:03:27 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 86C54440079; Mon, 19 Mar 2018 01:03:24 +0000 (GMT) From: Mark Brown To: Wei Yongjun In-Reply-To: <1521185516-164333-1-git-send-email-weiyongjun1@huawei.com> Message-Id: <20180319010324.86C54440079@finisterre.ee.mobilebroadband> Date: Mon, 19 Mar 2018 01:03:24 +0000 (GMT) Cc: alsa-devel@alsa-project.org, Ryder Lee , Kuninori Morimoto , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Takashi Iwai , Liam Girdwood , Mark Brown , linux-mediatek@lists.infradead.org, Brugger , Matthias@sirena.org.uk, linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] Applied "ASoC: mediatek: mt2701: drop unnessary snd_soc_unregister_component()" 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: mediatek: mt2701: drop unnessary snd_soc_unregister_component() 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 66717d787a092c1438d2ce7b31d47fe88b6b93ea Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Fri, 16 Mar 2018 07:31:56 +0000 Subject: [PATCH] ASoC: mediatek: mt2701: drop unnessary snd_soc_unregister_component() It's not necessary to unregister a component registered with devm_snd_soc_register_component(). Fixes: f1b5bf07365d ("ASoC: mt2701/mt8173: replace platform to componen") Signed-off-by: Wei Yongjun Signed-off-by: Mark Brown --- sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 2 -- 1 file changed, 2 deletions(-) -- 2.16.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c b/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c index f7e0702d92f8..43837a3bf1ca 100644 --- a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c +++ b/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c @@ -1561,8 +1561,6 @@ static int mt2701_afe_pcm_dev_remove(struct platform_device *pdev) if (!pm_runtime_status_suspended(&pdev->dev)) mt2701_afe_runtime_suspend(&pdev->dev); - snd_soc_unregister_component(&pdev->dev); - return 0; }