aboutsummaryrefslogtreecommitdiff
path: root/rust/alloc/alloc.rs
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2022-12-19 19:06:22 +0100
committerJoerg Roedel <[email protected]>2023-01-13 13:46:32 +0100
commit142e821f68cf5da79ce722cb9c1323afae30e185 (patch)
tree946bd0aad4107b602e697d5e22e3c9bbb7a7c3ad /rust/alloc/alloc.rs
parentdcdb3ba7e2a8caae7bfefd603bc22fd0ce9a389c (diff)
iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe()
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 <[email protected]> Reviewed-by: Yong Wu <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Reviewed-by: Matthias Brugger <[email protected]> Link: https://lore.kernel.org/r/593e7b7d97c6e064b29716b091a9d4fd122241fb.1671473163.git.christophe.jaillet@wanadoo.fr Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'rust/alloc/alloc.rs')
0 files changed, 0 insertions, 0 deletions