On Wed, Sep 10, 2014 at 12:31:48PM +0000, Anson.Huang@xxxxxxxxxxxxx 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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html