diff options
author | Sameer Pujar <spujar@nvidia.com> | 2019-03-13 00:41:58 -0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-03-28 12:24:57 -0400 |
commit | 0d7dab926130e194decf1b4dabbf66de6e68bf0c (patch) | |
tree | 258bea564fa18df6380a72c60c8a2bfa9eaed5b1 /lib/mpi/mpiutil.c | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) |
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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions