summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/mediatek/pinctrl-mt8135.c
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2016-01-07 14:16:51 +0300
committerJoerg Roedel <jroedel@suse.de>2016-01-07 15:44:41 +0300
commitbc8474549e94efddb5d5791af0a015d13115b67b (patch)
tree082c049f62308c4eeb99d282fd507613f35be96c /drivers/pinctrl/mediatek/pinctrl-mt8135.c
parent592033790e8276f7038efb480871598648464a01 (diff)
downloadlinux-bc8474549e94efddb5d5791af0a015d13115b67b.tar.xz
iommu/vt-d: Fix up error handling in alloc_iommu
Only check for error when iommu->iommu_dev has been assigned and only assign drhd->iommu when the function can't fail anymore. Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/pinctrl/mediatek/pinctrl-mt8135.c')
0 files changed, 0 insertions, 0 deletions