Browse Source

msm: eva: Update EVA IOMMU fault handler return

Changes return value from -EINVAL to -ENOSYS to print
debugging info.

Change-Id: Ic80fa6a348eb132aa7c215eedd6c43ffeec8c818
Signed-off-by: George Shen <[email protected]>
George Shen 4 years ago
parent
commit
bd3feaf6b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      msm/eva/msm_cvp_res_parse.c

+ 1 - 1
msm/eva/msm_cvp_res_parse.c

@@ -941,7 +941,7 @@ int msm_cvp_smmu_fault_handler(struct iommu_domain *domain,
 	 * 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;
+	return -ENOSYS;
 }
 
 static int msm_cvp_populate_context_bank(struct device *dev,