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

Skip to content
Commit 7481a0b1 authored by Akash Asthana's avatar Akash Asthana
Browse files

Platform: msm-geni-se: Geni drivers shouldn't crash without ICC support



Ideally GENI drivers shouldn't fail or crash if ICC entries are missing
from the DT node or CONFIG_INTERCONNECT is disabled. Most of the ICC APIs
returns success in such scenarios.

Since we have maintained our own wrapper for most of the ICC interaction
for ex: rmv_ab_ib/add_ab_ib/resources_init mostly due to QUP core clock
behaviour. So, let's bail out from these APIs if ICC entry is missing
in DT node. In future we can move ICC registration to probe to simplify
more.

Also, remove the obsolete iommu related code.

Change-Id: I48bec3d2a95ad53f2c2008e60be645ed829354ca
Signed-off-by: default avatarAkash Asthana <akashast@codeaurora.org>
parent aa860b5b
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