diff options
| author | Mitchel Humpherys <mitchelh@codeaurora.org> | 2015-06-01 12:50:38 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:12:50 -0700 |
| commit | 3b842460f124e1575227f9820b6b7b196ec7c81c (patch) | |
| tree | eec05466f4e77b13de0d451855ba729f9e7a12e1 /include/linux/usb/functionfs.h | |
| parent | 3cd7ba8dd0469db3293765b09318d0ad69970a37 (diff) | |
iommu/arm-smmu: Only prepare clocks when necessary
arm_smmu_enable_regulators also prepares all of our clocks (similarly
for arm_smmu_disable_regulators), and is always called from
arm_smmu_enable_clocks. arm_smmu_enable_clocks, also prepares our
clocks, so clocks are being prepared twice, which is once more than we
need. Fix this by enabling (not preparing) clocks in
arm_smmu_enable_clocks, relying on arm_smmu_enable_regulators to prepare
the clocks beforehand.
Change-Id: Id07848f64a81522e27198d6e708159941b07d444
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Diffstat (limited to 'include/linux/usb/functionfs.h')
0 files changed, 0 insertions, 0 deletions
