]> git.baikalelectronics.ru Git - 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:42:05 +0000 (11:42 +0100)
commita2012c10cb1479b111c501de34e7798b146aa30d
treed5853b41472caa33a95d17053b5a80e85e671e24
parent2faa85f3fdec80968d7a84bcf553daeb28392a38
iommu/mediatek-v1: Add error handle for mtk_iommu_probe

[ Upstream commit 3c0c466f63dc0daaa115c7552d857e3a0f49a647 ]

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>
Stable-dep-of: 142e821f68cf ("iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/iommu/mtk_iommu_v1.c