Re: [PATCH] net: phy: micrel: support !CONFIG_HAVE_CLK

Fabio Estevam
2015-04-27T17:59:43Z

On Mon, Apr 27, 2015 at 8:00 AM, Niklas Cassel <niklas.cassel@axis.com> wrote:

> Since NULL is a valid clock, we shouldn't use
> IS_ERR_OR_NULL.

Yes, but this code is not using IS_ERR_OR_NULL.

It seems that you are not describing the problem you are trying to solve.

What is the exact issue you are seeing?

> clk = devm_clk_get(&phydev->dev, "rmii-ref");

You need to provide the 'rmii-ref' in your board file or dts.

Are you doing this?