Messages in this thread | | | Date | Tue, 20 Dec 2022 10:42:42 +0100 | Subject | Re: [PATCH] iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe() | From | AngeloGioacchino Del Regno <> |
| |
Il 19/12/22 19:06, Christophe JAILLET ha scritto: > A clk, prepared and enabled in mtk_iommu_v1_hw_init(), is not released in > the error handling path of mtk_iommu_v1_probe(). > > Add the corresponding clk_disable_unprepare(), as already done in the > remove function. > > Fixes: b17336c55d89 ("iommu/mediatek: add support for mtk iommu generation one HW") > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> > Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
| |