[PATCH V2 3/3] ARM: imx: source gpt per clk from OSC for system timer

Shawn Guo shawn.guo at linaro.org
Wed Sep 10 06:01:52 PDT 2014


On Wed, Sep 10, 2014 at 12:31:48PM +0000, Anson.Huang at freescale.com wrote:
> I think it should be OK now, but for the "try osc_per clk first ..." the check
> should be as below?
> 
> If (IS_ERR(clk_per))
>       clk_per = of_clk_get_by_name(np, "per");
> 

Ah, yes.  That was a mistake in my example code.

Shawn



More information about the linux-arm-kernel mailing list