diff options
| author | Patrick Daly <pdaly@codeaurora.org> | 2016-10-27 18:08:01 -0700 |
|---|---|---|
| committer | Patrick Daly <pdaly@codeaurora.org> | 2016-12-08 14:32:20 -0800 |
| commit | 149c51d5f2b7b2028446e3757ff6b17e90092c48 (patch) | |
| tree | ae3d76253acb99d36784cc53aabfb26275a18514 /include/linux/fpga/fpga-mgr.h | |
| parent | 368fecd7df5b203a5ce684a0c77726a5690c1147 (diff) | |
iommu: arm-smmu: Fix clock reference count error
When an atomic iommu domain attaches, an additional vote for both
clk_prepare, bus_bw, and regulator_enable must be held. The prior logic
only did this if the atomic domain was the first to attach to the iommu.
Fix this.
As a side effect, add reference counting for bus_bandwidth voting such
that a call to arm_smmu_enable_clock() followed by
arm_smmu_disable_clocks() will not always result in a bus bandwidth
vote of zero.
Change-Id: I7f88ea845a281c8c1def4f642e61262b53b60e1a
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions
