summaryrefslogtreecommitdiff
path: root/Documentation/usb
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-12-19 21:06:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-18 13:45:00 +0300
commitcaaea2ab6b6d48f1261ead8c8737502bcf47c297 (patch)
tree6fa9eb95da16000475d9c6fbd0079562e8b9d405 /Documentation/usb
parentcf38e7624179c93ed60482d795677d491d4b0136 (diff)
downloadlinux-caaea2ab6b6d48f1261ead8c8737502bcf47c297.tar.xz
iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe()
[ Upstream commit 142e821f68cf5da79ce722cb9c1323afae30e185 ] 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: Yong Wu <yong.wu@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Link: https://lore.kernel.org/r/593e7b7d97c6e064b29716b091a9d4fd122241fb.1671473163.git.christophe.jaillet@wanadoo.fr Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation/usb')
0 files changed, 0 insertions, 0 deletions