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

From: Fabio Estevam
Date: Mon Apr 27 2015 - 13:59:49 EST


On Mon, Apr 27, 2015 at 8:00 AM, Niklas Cassel <niklas.cassel@xxxxxxxx> 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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/