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

Commit 77db4f94 authored by Patrick Daly's avatar Patrick Daly
Browse files

iommu: arm-smmu: Reinitialize domain properly on error paths



Ensure the error paths from arm_smmu_init_domain() context clean
up properly. This relies on testing for some "magic values" which
indicate whether irqs/context banks/ etc have been initialized.

Ensure the "magic values" are reset so a future call to
arm_smmu_init_domain() has the same behavior.

Change-Id: I6d86fe548631a0dd82f5535f79b66c1ff9d729c3
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent 5b3d8c6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment