icnss2: return ENOSYS from smmu fault handler callback
Return -ENOSYS from smmu fault handler callback as iommu driver requires -ENOSYS return value to print debug info. Change-Id: Id395269542d40137323d413f20da67dc715efa2d CRs-Fixed: 3513019
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
0fcf684c10
commit
8ddac0b648
@@ -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)
|
||||
|
Reference in New Issue
Block a user