Applied "ASoC: rcar: call missing of_clk_del_provider() when remove" to the asoc tree

Message ID E1cthWq-00089S-5w@debutante
State New
Headers show

Commit Message

Mark Brown March 30, 2017, 9:22 p.m.
The patch

   ASoC: rcar: call missing of_clk_del_provider() when remove

has been applied to the asoc tree at


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.


From b5aac5a9adf667f907c34c520e023bc19f8c226c Mon Sep 17 00:00:00 2001
From: Kuninori Morimoto <>

Date: Thu, 30 Mar 2017 01:49:27 +0000
Subject: [PATCH] ASoC: rcar: call missing of_clk_del_provider() when remove

adg is calling of_clk_add_provider() when probe time,
thus, remove should call of_clk_del_provider(), it doesn't now.
This patch fix this issue.

Signed-off-by: Kuninori Morimoto <>

Signed-off-by: Mark Brown <>

 sound/soc/sh/rcar/adg.c | 5 +++++
 1 file changed, 5 insertions(+)


Alsa-devel mailing list


diff --git a/sound/soc/sh/rcar/adg.c b/sound/soc/sh/rcar/adg.c
index 56107454bdb3..9665c1fa7216 100644
--- a/sound/soc/sh/rcar/adg.c
+++ b/sound/soc/sh/rcar/adg.c
@@ -587,5 +587,10 @@  int rsnd_adg_probe(struct rsnd_priv *priv)
 void rsnd_adg_remove(struct rsnd_priv *priv)
+	struct device *dev = rsnd_priv_to_dev(priv);
+	struct device_node *np = dev->of_node;
+	of_clk_del_provider(np);