All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Linux-ALSA <alsa-devel@alsa-project.org>,
	Mark Brown <broonie@kernel.org>
Subject: Applied "ASoC: au1x: psc-i2s.c: use devm_snd_soc_register_component()" to the asoc tree
Date: Tue,  2 Jul 2019 14:04:42 +0100 (BST)	[thread overview]
Message-ID: <20190702130442.6FB67440049@finisterre.sirena.org.uk> (raw)
In-Reply-To: <87zhm2s69u.wl-kuninori.morimoto.gx@renesas.com>

The patch

   ASoC: au1x: psc-i2s.c: 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 for-5.3

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 7422104037773624d2a6cdb9becb68278befbd88 Mon Sep 17 00:00:00 2001
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Date: Fri, 28 Jun 2019 13:08:48 +0900
Subject: [PATCH] ASoC: au1x: psc-i2s.c: use devm_snd_soc_register_component()

We have devm_xxx version of snd_soc_register_component,
let's use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/au1x/psc-i2s.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/sound/soc/au1x/psc-i2s.c b/sound/soc/au1x/psc-i2s.c
index 4a5a095076f4..076303f96b8c 100644
--- a/sound/soc/au1x/psc-i2s.c
+++ b/sound/soc/au1x/psc-i2s.c
@@ -340,16 +340,14 @@ static int au1xpsc_i2s_drvprobe(struct platform_device *pdev)
 
 	platform_set_drvdata(pdev, wd);
 
-	return snd_soc_register_component(&pdev->dev, &au1xpsc_i2s_component,
-					  &wd->dai_drv, 1);
+	return devm_snd_soc_register_component(&pdev->dev,
+				&au1xpsc_i2s_component, &wd->dai_drv, 1);
 }
 
 static int au1xpsc_i2s_drvremove(struct platform_device *pdev)
 {
 	struct au1xpsc_audio_data *wd = platform_get_drvdata(pdev);
 
-	snd_soc_unregister_component(&pdev->dev);
-
 	__raw_writel(0, I2S_CFG(wd));
 	wmb(); /* drain writebuffer */
 	__raw_writel(PSC_CTRL_DISABLE, PSC_CTRL(wd));
-- 
2.20.1

  reply	other threads:[~2019-07-02 13:04 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-28  4:06 [PATCH v2 00/23] ASoC: use devm_xxx Kuninori Morimoto
2019-06-28  4:07 ` [PATCH v2 01/23] ASoC: atmel: atmel-pcm-dma.c: use devm_snd_dmaengine_pcm_register() Kuninori Morimoto
2019-06-28  9:45   ` Codrin.Ciubotariu
2019-06-28 16:56   ` Applied "ASoC: atmel: atmel-pcm-dma.c: use devm_snd_dmaengine_pcm_register()" to the asoc tree Mark Brown
2019-06-28  4:07 ` [PATCH v2 02/23] ASoC: sunxi: sun4i-i2s.c: use devm_snd_dmaengine_pcm_register() Kuninori Morimoto
2019-06-28  4:07 ` [PATCH v2 03/23] ASoC: tegra: tegra_pcm.c: " Kuninori Morimoto
2019-06-28  4:08 ` [PATCH v2 04/23] ASoC: ux500: ux500_pcm.c: " Kuninori Morimoto
2019-06-28  4:08 ` [PATCH v2 05/23] ASoC: au1x: i2sc.c: use devm_snd_soc_register_component() Kuninori Morimoto
2019-06-28  4:08 ` [PATCH v2 06/23] ASoC: au1x: ac97c.c: " Kuninori Morimoto
2019-06-28  4:08 ` [PATCH v2 07/23] ASoC: au1x: psc-ac97.c: " Kuninori Morimoto
2019-07-02 12:39   ` Mark Brown
2019-07-03  0:36     ` Kuninori Morimoto
2019-06-28  4:08 ` [PATCH v2 08/23] ASoC: au1x: psc-i2s.c: " Kuninori Morimoto
2019-07-02 13:04   ` Mark Brown [this message]
2019-06-28  4:09 ` [PATCH v2 09/23] ASoC: cirrus: ep93xx-i2s.c: " Kuninori Morimoto
2019-07-02 12:44   ` Mark Brown
2019-06-28  4:09 ` [PATCH v2 10/23] ASoC: cirrus: ep93xx-ac97.c: " Kuninori Morimoto
2019-06-28  4:09 ` [PATCH v2 11/23] ASoC: rt5682: " Kuninori Morimoto
2019-07-02 13:04   ` Applied "ASoC: rt5682: use devm_snd_soc_register_component()" to the asoc tree Mark Brown
2019-06-28  4:09 ` [PATCH v2 12/23] ASoC: ak4118: use devm_snd_soc_register_component() Kuninori Morimoto
2019-07-02 13:04   ` Applied "ASoC: ak4118: use devm_snd_soc_register_component()" to the asoc tree Mark Brown
2019-06-28  4:09 ` [PATCH v2 13/23] ASoC: cros_ec_codec: use devm_snd_soc_register_component() Kuninori Morimoto
2019-07-02 13:04   ` Applied "ASoC: cros_ec_codec: use devm_snd_soc_register_component()" to the asoc tree Mark Brown
2019-06-28  4:10 ` [PATCH v2 14/23] ASoC: fsl: imx-ssi.c: use devm_snd_soc_register_component() Kuninori Morimoto
2019-06-28  4:10 ` [PATCH v2 15/23] ASoC: fsl: mpc5200_psc_i2s.c: " Kuninori Morimoto
2019-06-28  4:10 ` [PATCH v2 16/23] ASoC: fsl: mpc5200_psc_ac97.c: " Kuninori Morimoto
2019-06-28  4:10 ` [PATCH v2 17/23] ASoC: pxa: pxa2xx-ac97.c: " Kuninori Morimoto
2019-07-02 13:04   ` Applied "ASoC: pxa: pxa2xx-ac97.c: use devm_snd_soc_register_component()" to the asoc tree Mark Brown
2019-06-28  4:10 ` [PATCH v2 18/23] ASoC: tegra: tegra20_i2s.c: use devm_snd_soc_register_component() Kuninori Morimoto
2019-07-02 12:45   ` Mark Brown
2019-06-28  4:10 ` [PATCH v2 19/23] ASoC: tegra: tegra20_spdif.c: " Kuninori Morimoto
2019-06-28  4:11 ` [PATCH v2 20/23] ASoC: tegra: tegra20_ac97.c: " Kuninori Morimoto
2019-06-28  4:11 ` [PATCH v2 21/23] ASoC: tegra: tegra30_i2s.c: " Kuninori Morimoto
2019-06-28  4:11 ` [PATCH v2 22/23] ASoC: ti: davinci-i2s.c: " Kuninori Morimoto
2019-06-28  4:11 ` [PATCH v2 23/23] ASoC: ux500: ux500_msp_dai.c: " Kuninori Morimoto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190702130442.6FB67440049@finisterre.sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=kuninori.morimoto.gx@renesas.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.