summaryrefslogtreecommitdiff
path: root/tools/wmi
diff options
context:
space:
mode:
authorSameer Pujar <spujar@nvidia.com>2019-03-13 07:41:58 +0300
committerThierry Reding <treding@nvidia.com>2019-03-28 19:24:57 +0300
commit0d7dab926130e194decf1b4dabbf66de6e68bf0c (patch)
tree258bea564fa18df6380a72c60c8a2bfa9eaed5b1 /tools/wmi
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff)
downloadlinux-0d7dab926130e194decf1b4dabbf66de6e68bf0c.tar.xz
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/wmi')
0 files changed, 0 insertions, 0 deletions