Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29802615 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "wil6210: fix iommu_unmap in IPA mode"

parents 97fba83c 1e9757ba
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -906,7 +906,8 @@ static int wil_ipa_wigig_init(struct wil_ipa *ipa)

err:
	if (ipa->smmu_enabled && ipa->uc_db_pa) {
		iommu_unmap(ipa->domain, ipa->uc_db_pa, PAGE_SIZE);
		iommu_unmap(ipa->domain, rounddown(ipa->uc_db_pa, PAGE_SIZE),
			    PAGE_SIZE);
		ipa->uc_db_pa = 0;
	}
	ipa_wigig_cleanup();