mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
cnss2: Notify WLAN host driver when SMMU fault is detected
Notify WLAN host drive FW down as soon as SMMU fault happens so that it can do necessary cleanup as earlier as possible. Change-Id: Ie34243de296d35ced3f2c1a1e4d50a6c551ae88d Signed-off-by: Yue Ma <yuem@codeaurora.org>
This commit is contained in:
parent
2f9b2b4199
commit
e9ffae75af
1 changed files with 1 additions and 0 deletions
|
|
@ -3363,6 +3363,7 @@ static int cnss_pci_smmu_fault_handler(struct iommu_domain *domain,
|
|||
return -ENODEV;
|
||||
}
|
||||
|
||||
cnss_pci_update_status(pci_priv, CNSS_FW_DOWN);
|
||||
cnss_force_fw_assert(&pci_priv->pci_dev->dev);
|
||||
|
||||
/* IOMMU driver requires non-zero return value to print debug info. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue