diff options
author | Tomasz Figa <tfiga@chromium.org> | 2018-03-23 15:38:04 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-03-29 12:22:25 +0200 |
commit | f6717d727c9a2b0742ac23234a347db0d3ad718a (patch) | |
tree | cb713dbecdf79aa808e49c7635d4c121a914b6d7 /include/drm/drm_dp_dual_mode_helper.h | |
parent | d0b912bd4c23fd8589584b1b0d582acb1230c795 (diff) | |
download | blackbird-op-linux-f6717d727c9a2b0742ac23234a347db0d3ad718a.tar.gz blackbird-op-linux-f6717d727c9a2b0742ac23234a347db0d3ad718a.zip |
iommu/rockchip: Fix error handling in attach
Currently if the driver encounters an error while attaching device, it
will leave the IOMMU in an inconsistent state. Even though it shouldn't
really happen in reality, let's just add proper error path to keep
things consistent.
Signed-off-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/drm/drm_dp_dual_mode_helper.h')
0 files changed, 0 insertions, 0 deletions