Return -ENOSYS from smmu fault handler callback as iommu driver requires -ENOSYS return value to print debug info. Change-Id: Id395269542d40137323d413f20da67dc715efa2d CRs-Fixed: 3513019
@@ -4398,8 +4398,8 @@ static int icnss_smmu_fault_handler(struct iommu_domain *domain,
icnss_trigger_recovery(&priv->pdev->dev);
- /* IOMMU driver requires non-zero return value to print debug info. */
- return -EINVAL;
+ /* IOMMU driver requires -ENOSYS return value to print debug info. */
+ return -ENOSYS;
}
static int icnss_smmu_dt_parse(struct icnss_priv *priv)