iommu/mediatek-v1: Add error handle for mtk_iommu_probe
stable inclusion from stable-v5.10.164 commit cf38e7624179c93ed60482d795677d491d4b0136 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7T7G4 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cf38e7624179c93ed60482d795677d491d4b0136 -------------------------------- [ Upstream commit ac304c07 ] In the original code, we lack the error handle. This patch adds them. Signed-off-by: NYong Wu <yong.wu@mediatek.com> Link: https://lore.kernel.org/r/20210412064843.11614-2-yong.wu@mediatek.comSigned-off-by: NJoerg Roedel <jroedel@suse.de> Stable-dep-of: 142e821f ("iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe()") Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: Nsanglipeng <sanglipeng1@jd.com>
Showing
想要评论请 注册 或 登录