summaryrefslogtreecommitdiff
path: root/sound/soc/dwc
diff options
context:
space:
mode:
authorSowjanya Komatineni <skomatineni@nvidia.com>2020-01-13 23:24:17 -0800
committerThierry Reding <treding@nvidia.com>2020-04-21 16:53:12 +0200
commit0de6db30ef79b391cedd749801a49c485d2daf4b (patch)
tree7a65c3cd120a01b2875217b3ca28952c1bd9762a /sound/soc/dwc
parent8f3d9f354286745c751374f5f1fcafee6b3f3136 (diff)
ASoC: tegra: Use device managed resource APIs to get the clock
tegra_asoc_utils uses clk_get() to get the clock and clk_put() to free them explicitly. This patch updates it to use device managed resource API devm_clk_get() so the clock will be automatically released and freed when the device is unbound and removes tegra_asoc_utils_fini() as its no longer needed. Tested-by: Dmitry Osipenko <digetx@gmail.com> Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Reviewed-by: Sameer Pujar <spujar@nvidia.com> Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'sound/soc/dwc')
0 files changed, 0 insertions, 0 deletions