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

Commit 6fc1d9f2 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "iommu/arm-smmu: Fix missing power off for TCU space in testbus handling"

parents 81142a79 b3615ac4
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -5884,6 +5884,9 @@ static ssize_t arm_smmu_debug_tcu_testbus_sel_write(struct file *file,
	if (kstrtou64(buf, 0, &sel))
		goto invalid_format;

	if (sel != 1 && sel != 2)
		goto invalid_format;

	if (kstrtou64(comma + 1, 0, &val))
		goto invalid_format;

@@ -5895,8 +5898,6 @@ static ssize_t arm_smmu_debug_tcu_testbus_sel_write(struct file *file,
	else if (sel == 2)
		arm_smmu_debug_tcu_testbus_select(base,
				tcu_base, PTW_AND_CACHE_TESTBUS, WRITE, val);
	else
		goto invalid_format;

	arm_smmu_power_off(smmu->pwr);