commit | 4d88a8a4c345cd16f634df855148cfb2a59a204a | [log] [tgz] |
---|---|---|
author | Jeffy Chen <jeffy.chen@rock-chips.com> | Fri Mar 23 15:38:12 2018 +0800 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Mar 29 12:22:28 2018 +0200 |
tree | 219e1abe1477743cab3db750d81285921651ccb3 | |
parent | 5fd577c3eac3bdb9aebfec01e9b3d7f07a14f2dd [diff] |
iommu/rockchip: Fix error handling in init It's hard to undo bus_set_iommu() in the error path, so move it to the end of rk_iommu_probe(). Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> Reviewed-by: Tomasz Figa <tfiga@chromium.org> Reviewed-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>