diff options
author | Jeffy Chen <jeffy.chen@rock-chips.com> | 2018-03-23 15:38:12 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-03-29 12:22:28 +0200 |
commit | 4d88a8a4c345cd16f634df855148cfb2a59a204a (patch) | |
tree | 219e1abe1477743cab3db750d81285921651ccb3 /lib/debugobjects.c | |
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>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions