Home
last modified time | relevance | path

Searched hist:"2 f8c7f2e76bf040fcdaa2b4f4c2b9ef3b6e4ed25" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iommu/
H A Drockchip-iommu.cdiff 2f8c7f2e76bf040fcdaa2b4f4c2b9ef3b6e4ed25 Tue Apr 17 14:09:15 CEST 2018 Heiko Stuebner <heiko@sntech.de> 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: f2e3a5f557ad ("iommu/rockchip: Control clocks needed to access the IOMMU")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>