ASoC: simple-card: use devm_get_clk_from_child()
Current simple-card-utils is getting clk by of_clk_get(), but didn't call clk_free(). Now we can use devm_get_clk_from_child() for this purpose. Let's use it. Signed-off-by:Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
Showing
- include/sound/simple_card_utils.h 6 additions, 5 deletionsinclude/sound/simple_card_utils.h
- sound/soc/generic/simple-card-utils.c 4 additions, 4 deletionssound/soc/generic/simple-card-utils.c
- sound/soc/generic/simple-card.c 2 additions, 2 deletionssound/soc/generic/simple-card.c
- sound/soc/generic/simple-scu-card.c 2 additions, 2 deletionssound/soc/generic/simple-scu-card.c
Loading
Please register or sign in to comment