From bd3feaf6b0042bc86a0773d1414849c28fe8523d Mon Sep 17 00:00:00 2001 From: George Shen Date: Tue, 2 Feb 2021 19:25:41 -0800 Subject: [PATCH] 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 --- msm/eva/msm_cvp_res_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msm/eva/msm_cvp_res_parse.c b/msm/eva/msm_cvp_res_parse.c index c46ea1924b..4a9d87e278 100644 --- a/msm/eva/msm_cvp_res_parse.c +++ b/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,