]> git.karo-electronics.de Git - karo-tx-linux.git/commit
msm: iommu: Convert to clk_prepare/unprepare
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 4 Jun 2013 19:25:31 +0000 (12:25 -0700)
committerDavid Brown <davidb@codeaurora.org>
Wed, 12 Jun 2013 21:43:29 +0000 (14:43 -0700)
commitb66362d4b92f8bb7a0f7f2e914371d995ac14ca0
treeb16e49a06c34692d5b54445e6bccb6ce52033239
parent1ebcfcfd25c5c389bce9b4c8bbfa4a94c81fb584
msm: iommu: Convert to clk_prepare/unprepare

Add calls to clk_prepare and unprepare so that MSM can migrate to
the common clock framework. We never unprepare the clocks until
driver remove because the clocks are enabled and disabled in irq
context. Finer grained power management is possible in the future
via runtime power management techniques.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
drivers/iommu/msm_iommu_dev.c