Received: by 10.213.65.68 with SMTP id h4csp1173639imn; Sun, 18 Mar 2018 18:05:03 -0700 (PDT) X-Google-Smtp-Source: AG47ELv8d2RAgOFCnvRJHQqYmkzlB2Vm/DUngEFuwVG9/1FW4MFzwza6PmdwuwSqS5lPo2fxkAA+ X-Received: by 10.101.92.196 with SMTP id b4mr7564154pgt.27.1521421503322; Sun, 18 Mar 2018 18:05:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521421503; cv=none; d=google.com; s=arc-20160816; b=rT/d5K6LFF30mwP9o8mNcHSWl5Z8je0fI7Trn42IaJfD+hBy6ImCXcJT9CVfKWDGyI yf3HAJRdTlEZ0lXPa4oZe4QwTRL2LhcLbG+8YA3tzpA3zYUfYXdM5AXgybOiHAXzOggB 3VyIbHeNO7fvOzTUSxKVbx1ad3ev55seH9zEceb6AiFiqt5+SSlvBO8+C60b5FJed5/0 NHm6GII0upGjVaHfCJf4/vyVuqX3Lp+yqpC4Q7+cssay8g0kYlGJwKn/iOrjc2k8jOIt WisQKbOhkg7MNttCSw6S5uWaOm/Iv7hT6Q2d1229rewh850lJHQmcfk2N4u39f257rvM 4YEA== 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=+RUO6AtwVsxORwOXgHOunZbFXz/3cY3cKlVlNoKhF9I=; b=oOf3rRfuCjP0lHGFY6dz1xlBqQldY1ha1Olhr7hjs08JEvC3f3otEH7HxiTQRNtIyq H5cIfmev1ovUP3vwlmfAFysu4tRB8NtRLkyC72N80kpEaSPp++eglP2J9jruN8Alg8ir uwlNwCWreXB8STRGke63g7NGmRUYBy3w8PZGsU9J4OP3jmaL1wT8Mv9zfNEEuh98xKmD 5Ej59Ldx+aLqbGSx5jIHq4tApIXnkFIvObNnXQA4AwG9fWJlUOH/ixtYeIeR175RFnhO gZY4R6TUqGMRBdQlu1s51aFJlCUnOKQmjztBCt57tC/TChxdSaaLaW5TQ4mGDKgDMqX2 PlCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=xVxYv1DB; 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 c11si8765059pga.382.2018.03.18.18.04.47; Sun, 18 Mar 2018 18:05:03 -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=xVxYv1DB; 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 S1754965AbeCSBDi (ORCPT + 99 others); Sun, 18 Mar 2018 21:03:38 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:49482 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754931AbeCSBDf (ORCPT ); Sun, 18 Mar 2018 21:03:35 -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=+RUO6AtwVsxORwOXgHOunZbFXz/3cY3cKlVlNoKhF9I=; b=xVxYv1DBkNEP mBOB+nVtSkaLpshluYrDb2JASHW0aQVI+bYjCjqVq/2fQR7HA9YpITCCRyjrMSX2kEmye8X/oIKRR HZwb+qTZeXh6srazDGlapHcl/inxCRFFuwMZvDZS3Q60g9H/mLo8THJVpoSVnHp+/Gjf9BzWRW0Qo seY+o=; 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 1exjCs-00066i-TY; Mon, 19 Mar 2018 01:03:23 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 46B5E440079; Mon, 19 Mar 2018 01:03:20 +0000 (GMT) From: Mark Brown To: weiyongjun (A) Cc: Wei Yongjun , Charles Keepax , Mark Brown , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Kuninori Morimoto , kernel-janitors@vger.kernel.org, patches@opensource.cirrus.com, alsa-devel@alsa-project.org, Wei Yongjun , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Applied "ASoC: wm8400: Use devm_snd_soc_register_component()" to the asoc tree In-Reply-To: <1521185527-164406-1-git-send-email-weiyongjun1@huawei.com> Message-Id: <20180319010320.46B5E440079@finisterre.ee.mobilebroadband> Date: Mon, 19 Mar 2018 01:03:20 +0000 (GMT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: wm8400: Use devm_snd_soc_register_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 822e70a8210b7038e1f54c43ca6c76c3b9f89803 Mon Sep 17 00:00:00 2001 From: "weiyongjun (A)" Date: Fri, 16 Mar 2018 07:32:07 +0000 Subject: [PATCH] ASoC: wm8400: Use devm_snd_soc_register_component() Since the remove callback is removed, the snd_soc_unregister_component() is missing when remove device. Using devm_snd_soc_register_component() instead of snd_soc_register_component(). Fixes: 10dc44c6462d ("ASoC: wm8400: replace codec to component") Signed-off-by: Wei Yongjun Acked-by: Charles Keepax Signed-off-by: Mark Brown --- sound/soc/codecs/wm8400.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/wm8400.c b/sound/soc/codecs/wm8400.c index c237365d1184..57b22065a45d 100644 --- a/sound/soc/codecs/wm8400.c +++ b/sound/soc/codecs/wm8400.c @@ -1343,7 +1343,7 @@ static const struct snd_soc_component_driver soc_component_dev_wm8400 = { static int wm8400_probe(struct platform_device *pdev) { - return snd_soc_register_component(&pdev->dev, + return devm_snd_soc_register_component(&pdev->dev, &soc_component_dev_wm8400, &wm8400_dai, 1); } -- 2.16.2