Commit 4643aef9 authored by Yong Wu's avatar Yong Wu Committed by sanglipeng
Browse files

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: default avatarYong Wu <yong.wu@mediatek.com>
Link: https://lore.kernel.org/r/20210412064843.11614-2-yong.wu@mediatek.com


Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
Stable-dep-of: 142e821f ("iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 2f33b93d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment