diff options
author | Sameer Pujar <spujar@nvidia.com> | 2019-03-13 05:41:58 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-03-28 17:24:57 +0100 |
commit | 0d7dab926130e194decf1b4dabbf66de6e68bf0c (patch) | |
tree | 258bea564fa18df6380a72c60c8a2bfa9eaed5b1 /tools/hv | |
parent | Linux 5.1-rc1 (diff) | |
download | linux-0d7dab926130e194decf1b4dabbf66de6e68bf0c.tar.xz linux-0d7dab926130e194decf1b4dabbf66de6e68bf0c.zip |
bus: tegra-aconnect: use devm_clk_*() helpers
aconnect bus driver is using pm_clk_*() interface for managing clocks.
With this, clocks seem to be always ON. This happens on Tegra devices
which use BPMP co-processor to manage clock resources, where clocks
are enabled during prepare phase. This is necessary because calls to
BPMP are always blocking. When pm_clk_*() interface is used on such
Tegra devices, clock prepare count is not balanced till driver remove()
gets executed and hence clocks are seen ON always. Thus this patch
replaces pm_clk_*() with devm_clk_*() framework.
Suggested-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools/hv')
0 files changed, 0 insertions, 0 deletions