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

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

Merge "msm: vidc: Return EINVAL for SMMU fault handler"

parents ce2d64b7 03188c7f
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -1029,7 +1029,13 @@ int msm_vidc_smmu_fault_handler(struct iommu_domain *domain,
	}
	core->smmu_fault_handled = true;
	mutex_unlock(&core->lock);
	return 0;
	/*
	 * Return -EINVAL to elicit the default behaviour of smmu driver.
	 * If we return -EINVAL, then smmu driver assumes page fault handler
	 * is not installed and prints a list of useful debug information like
	 * FAR, SID etc. This information is not printed if we return 0.
	 */
	return -EINVAL;
}

static int msm_vidc_populate_context_bank(struct device *dev,