Skip to content
Commit 2f8c7f2e authored by Heiko Stuebner's avatar Heiko Stuebner Committed by Joerg Roedel
Browse files

iommu/rockchip: Make clock handling optional

iommu clocks are optional, so the driver should not fail if they are not
present. Instead just set the number of clocks to 0, which the clk-blk APIs
can handle just fine.

Fixes: f2e3a5f5

 ("iommu/rockchip: Control clocks needed to access the IOMMU")
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
Tested-by: default avatarEnric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 94c793ac
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment