Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e3471ef authored by Patrick Daly's avatar Patrick Daly
Browse files

iommu: arm-smmu: Fix reference count error



Adjust the reference count appropriately when disabling power.

Change-Id: I9ea0f0074fc4a54445246199b00cba1ea576c03a
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent 9438f325
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -870,7 +870,7 @@ static void arm_smmu_power_off_slow(struct arm_smmu_power_resources *pwr)
	arm_smmu_unprepare_clocks(pwr);
	arm_smmu_unrequest_bus(pwr);
	regulator_bulk_disable(pwr->num_gdscs, pwr->gdscs);

	pwr->power_count = 0;
	mutex_unlock(&pwr->power_lock);
}