]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iommu/mediatek-v1: Add error handle for mtk_iommu_probe
authorYong Wu <yong.wu@mediatek.com>
Mon, 12 Apr 2021 06:48:43 +0000 (14:48 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 16 Apr 2021 15:15:20 +0000 (17:15 +0200)
commitac304c070c54413efabf29f9e73c54576d329774
treecc1a2fbd130fb9cb94f074ae2cb1db67b0a4479e
parentf90a9a85fb946e11092f8ca43e30210a2d427bf4
iommu/mediatek-v1: Add error handle for mtk_iommu_probe

In the original code, we lack the error handle. This patch adds them.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Link: https://lore.kernel.org/r/20210412064843.11614-2-yong.wu@mediatek.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/mtk_iommu_v1.c