aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bus/hisi_lpc.c
diff options
context:
space:
mode:
authorSameer Pujar <spujar@nvidia.com>2019-03-13 10:11:58 +0530
committerThierry Reding <treding@nvidia.com>2019-03-28 17:24:57 +0100
commit0d7dab926130e194decf1b4dabbf66de6e68bf0c (patch)
tree258bea564fa18df6380a72c60c8a2bfa9eaed5b1 /drivers/bus/hisi_lpc.c
parentLinux 5.1-rc1 (diff)
downloadlinux-dev-0d7dab926130e194decf1b4dabbf66de6e68bf0c.tar.xz
linux-dev-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 'drivers/bus/hisi_lpc.c')
0 files changed, 0 insertions, 0 deletions