Re: [PATCH] net: ethernet: ravb: Fix release of refclk

From: Sergei Shtylyov
Date: Wed Apr 21 2021 - 10:25:53 EST


On 4/21/21 5:05 PM, Adam Ford wrote:

> The call to clk_disable_unprepare() can happen before priv is
> initialized.

This still doesn't make sense for me...

> This means moving clk_disable_unprepare out of
^ call
> out_release into a new label.
>
> Fixes: 8ef7adc6beb2 ("net: ethernet: ravb: Enable optional refclk")
> Signed-off-by: Adam Ford <aford173@xxxxxxxxx>

Reviewed-by: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxx>


[...]

MBR, Sergei