# Re: \[PATCH v2\] phy: phy-mtk-tphy: Fix some resource leaks in mtk\_phy\_init()

- From: Vinod Koul \<vkoul@kernel.org\>
- Date: 2021-05-31 08:28:59 
- List: linux-phy
- Page: https://ratatoskr.run/linux-phy/2021/05/1396308
- Thread: https://ratatoskr.run/linux-arm-kernel/2021/05/1383247/t.md

```text
On 19-05-21, 18:37, Tiezhu Yang wrote:
> Use clk_disable_unprepare() in the error path of mtk_phy_init() to fix
> some resource leaks.

Applied, thanks

-- 
~Vinod

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
```
