Re: [PATCH net] net: qcom/emac: add missed clk_disable_unprepare in error path of emac_clks_phase1_init

From: David Miller
Date: Tue Aug 11 2020 - 13:37:11 EST


From: Wang Hai <wanghai38@xxxxxxxxxx>
Date: Mon, 10 Aug 2020 10:57:05 +0800

> Fix the missing clk_disable_unprepare() before return
> from emac_clks_phase1_init() in the error handling case.
>
> Fixes: b9b17debc69d ("net: emac: emac gigabit ethernet controller driver")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Wang Hai <wanghai38@xxxxxxxxxx>
> Acked-by: Timur Tabi <timur@xxxxxxxxxx>

Applied, thank you.