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:
Akash Asthana <akashast@codeaurora.org>
Loading
Please register or sign in to comment