Received: by 10.213.65.68 with SMTP id h4csp1173878imn; Sun, 18 Mar 2018 18:05:35 -0700 (PDT) X-Google-Smtp-Source: AG47ELtzO/r6SmjPZE68isabSEQc7fYshqxRON0Al2enGPLN/uZAb0Q4ZA6d2/sCOvUJZkwYM4W+ X-Received: by 2002:a17:902:56c:: with SMTP id 99-v6mr10219238plf.53.1521421535900; Sun, 18 Mar 2018 18:05:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521421535; cv=none; d=google.com; s=arc-20160816; b=G4t8g4mfVJThu8duTEC4GqMhR/xMSfTgEfaYZH8bSwhdTs5BkO7Z2IHfiKeSq943t1 HchvlmrZorykTTb8+tjsbnpsgej//KcPe62Q5A0kFqDIZ9sDWUH7XQsbLF0XSQ9qPKHY 133wzjPRmwfX7SMvstYGOiAz9Llto/5942LxOqbHwGGFFMIdG/uqefMAuHoVBlmk/kfV wpwRJierB8JNbYGY42KO4nJpOkQX7nBa7fd+tTdRNNaGcZ8Sp8RgOF8D04G2HIujS7gF Zl/f1Ajr5g7bRaj6t/WHIVM4SFbe/cRy2JV5ZDyULo4MsBzTgW7Fv4EjJcH6VfCu2fkC vDyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=SB4l0b4W0jd4h7aOscvtXzI9g1TsXdoQDpXTboMo0Rk=; b=t8sU9TFj/U3kRBeyuWvq76LnpKAKXPEu910br5vZpfAvk99mU97rk0pWBpVFPpUF/a S2F+RhxM8xHYiIgbs4UjceGbm4WztVMr8EAnFL0vCp2ECxhr+QDjJFBM7/lA01LjIMhj MmuNF9dS8B5C75WQ+pFYSNWnYVOLn7qxqmr675ky2+cCYYuxFpGEKdolA0rX8i3dYtd/ mDKGJF1qfLS5j1GkG+wXmDbpxhHiWdwtEy1jdpe8igioL/mwwcYIw2Q93qkmne7ofV3I TiBoR+KFLBCISWZynbuU/EeRs12+G0+OLK11iFfE/DXeiEeEFB3fnC2w/zi6oUHh6y70 Q4nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=OxNrknPy; 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 p7si9551688pff.80.2018.03.18.18.05.21; Sun, 18 Mar 2018 18:05:35 -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; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=OxNrknPy; 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 S1755092AbeCSBEH (ORCPT + 99 others); Sun, 18 Mar 2018 21:04:07 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:49824 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754935AbeCSBDq (ORCPT ); Sun, 18 Mar 2018 21:03:46 -0400 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 Cc: Mark Brown , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Matthias@sirena.org.uk, Brugger , Ryder Lee , Kuninori Morimoto , alsa-devel@alsa-project.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, alsa-devel@alsa-project.org Subject: Applied "ASoC: mediatek: mt2701: drop unnessary snd_soc_unregister_component()" to the asoc tree 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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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(-) 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; } -- 2.16.2