Re: [PATCH] clk: handle NULL args in clk_set_parent()

2022-05-12 Thread Sascha Hauer
On Thu, May 12, 2022 at 10:54:37AM +0200, Bastian Krause wrote: > Hi Sascha, > > On 5/12/22 09:03, Sascha Hauer wrote: > > On Wed, May 11, 2022 at 12:09:11PM +0200, Bastian Krause wrote: > > > NULL struct clk pointers should be treated just as the Linux kernel clk > > > driver does [1]. The

Re: [PATCH] clk: handle NULL args in clk_set_parent()

2022-05-12 Thread Bastian Krause
Hi Sascha, On 5/12/22 09:03, Sascha Hauer wrote: On Wed, May 11, 2022 at 12:09:11PM +0200, Bastian Krause wrote: NULL struct clk pointers should be treated just as the Linux kernel clk driver does [1]. The reasoning should also apply to the parent clk argument. A NULL struct clk pointer can

Re: [PATCH] clk: handle NULL args in clk_set_parent()

2022-05-12 Thread Sascha Hauer
On Wed, May 11, 2022 at 12:09:11PM +0200, Bastian Krause wrote: > NULL struct clk pointers should be treated just as the Linux kernel clk > driver does [1]. The reasoning should also apply to the parent clk > argument. > > A NULL struct clk pointer can happen for example on the Freescale i.MX6 >

Re: [PATCH] clk: handle NULL args in clk_set_parent()

2022-05-11 Thread Ahmad Fatoum
Hello Bastian, On 11.05.22 12:09, Bastian Krause wrote: > NULL struct clk pointers should be treated just as the Linux kernel clk > driver does [1]. The reasoning should also apply to the parent clk > argument. > > A NULL struct clk pointer can happen for example on the Freescale i.MX6 > SABRE