iommu: arm-smmu: Establish smmu device-links with smmu clients
Use the device link framework to establish device-links
between the smmu device and the client devices as part
of the arm_smmu_add_device call where the smmu would
serve as the supplier device and the clients will serve
as the consumer device.Establishing the device link
will help maintain the right order of devices in the
devices_kset and the dpm_list where the consumers follow
the suppliers in the list.Maintaining the right order of
devices in these list is crucial since the shutdown and
suspend/resume callbacks are invoked in the reverse order
of the list.
Change-Id: I85600a0b1c2e562b61b027522c19a63812d7a409
Signed-off-by:
Swathi Sridhar <swatsrid@codeaurora.org>
Loading
Please register or sign in to comment