linux/sound/soc/sh/rcar
Kuninori Morimoto 965386c976
ASoC: rsnd: call unregister for null_hw when removed
commit d6956a7dde ("ASoC: rsnd: add null CLOCKIN support")
added null_clk, but it is using local static valuable.
It will be leaked if rsnd driver was removed.
This patch moves it to priv, and call unregister when removing.

Fixes: d6956a7dde ("ASoC: rsnd: add null CLOCKIN support")
Link: https://lore.kernel.org/r/87tumsoe2p.wl-kuninori.morimoto.gx@renesas.com
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Message-Id: <877djknbl5.wl-kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-05-27 11:15:26 +01:00
..
adg.c ASoC: rsnd: call unregister for null_hw when removed 2021-05-27 11:15:26 +01:00
cmd.c ASoC: rsnd: cleanup ppcheck warning for cmd.c 2021-03-10 13:07:12 +00:00
core.c ASoC: rsnd: core: Check convert rate in rsnd_hw_params 2021-03-16 13:29:37 +00:00
ctu.c ASoC: sh: rcar: ctu: add missing error check 2021-03-10 13:07:02 +00:00
dma.c Merge branch 'for-5.4' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.5 2019-11-06 16:29:34 +00:00
dvc.c Merge branch 'for-4.20' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-4.21 intel dep 2018-12-13 14:36:46 +00:00
gen.c SoC: rsnd: add interrupt support for SSI BUSIF buffer 2020-05-12 10:56:21 +01:00
Makefile ASoC: rsnd: convert to SPDX identifiers 2018-06-18 12:16:46 +01:00
mix.c ASoC: rsnd: move .get_status under rsnd_mod_ops 2018-11-05 11:27:29 +00:00
rsnd.h ASoC: rsnd: call unregister for null_hw when removed 2021-05-27 11:15:26 +01:00
src.c ASoC: rsnd: add usage for SRC 2021-04-14 15:24:14 +01:00
ssi.c ASoC: rsnd: add rsnd_ssi_busif_err_irq_enable/disable() 2021-04-14 15:24:13 +01:00
ssiu.c ASoC: rsnd: cleanup ppcheck warning for ssiu.c 2021-03-10 13:07:09 +00:00