Re: [PATCH] clk: Fix falling back to legacy parent string matching

2019-08-02 Thread Stephen Boyd
Quoting Stephen Boyd (2019-08-01 10:12:09) > Calls to clk_core_get() will return ERR_PTR(-EINVAL) if we've started > migrating a clk driver to use the DT based style of specifying parents > but we haven't made any DT updates yet. This happens when we pass a > non-NULL value as the 'name' argument o

[PATCH] clk: Fix falling back to legacy parent string matching

2019-08-01 Thread Stephen Boyd
Calls to clk_core_get() will return ERR_PTR(-EINVAL) if we've started migrating a clk driver to use the DT based style of specifying parents but we haven't made any DT updates yet. This happens when we pass a non-NULL value as the 'name' argument of of_parse_clkspec(). That function returns -EINVAL