[alsa-devel] [PATCH v2 18/23] ASoC: tegra: tegra20_i2s.c: use devm_snd_soc_register_component()

Mark Brown broonie at kernel.org
Tue Jul 2 14:45:57 CEST 2019


On Fri, Jun 28, 2019 at 01:10:40PM +0900, Kuninori Morimoto wrote:

>  	if (!pm_runtime_status_suspended(&pdev->dev))
>  		tegra20_i2s_runtime_suspend(&pdev->dev);
>  
> -	snd_soc_unregister_component(&pdev->dev);
> -
>  	clk_put(i2s->clk_i2s);

Same thing with clk_get() here and for some of the others.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20190702/dce483af/attachment.sig>


More information about the Alsa-devel mailing list