summaryrefslogtreecommitdiffstats
path: root/drivers/edac/altera_edac.c
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2018-04-17 14:09:15 +0200
committerJoerg Roedel <jroedel@suse.de>2018-05-03 16:32:10 +0200
commit2f8c7f2e76bf040fcdaa2b4f4c2b9ef3b6e4ed25 (patch)
tree3b415f714fbd859bfdcf936cd8004f384854806f /drivers/edac/altera_edac.c
parentiommu/amd: Hide unused iommu_table_lock (diff)
downloadlinux-2f8c7f2e76bf040fcdaa2b4f4c2b9ef3b6e4ed25.tar.xz
linux-2f8c7f2e76bf040fcdaa2b4f4c2b9ef3b6e4ed25.zip
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>
Diffstat (limited to 'drivers/edac/altera_edac.c')
0 files changed, 0 insertions, 0 deletions