[PATCH 0/6] clk: socfpga: use of_clk_add_hw_provider and improve error handling

Marco Pagani posted 6 patches 2 years, 9 months ago
drivers/clk/socfpga/clk-gate-a10.c   | 26 +++++++++++++++------
drivers/clk/socfpga/clk-gate.c       | 35 +++++++++++++++++-----------
drivers/clk/socfpga/clk-periph-a10.c | 22 ++++++++++-------
drivers/clk/socfpga/clk-periph.c     | 26 ++++++++++++++++-----
drivers/clk/socfpga/clk-pll-a10.c    | 30 +++++++++++++++++-------
drivers/clk/socfpga/clk-pll.c        | 32 +++++++++++++++++--------
6 files changed, 118 insertions(+), 53 deletions(-)
[PATCH 0/6] clk: socfpga: use of_clk_add_hw_provider and improve error handling
Posted by Marco Pagani 2 years, 9 months ago
This patch set improves error handling and replaces the deprecated
of_clk_add_provider() function with of_clk_add_hw_provider() in the
Intel SoC-FPGA family clock drivers.

The patch set is based on top of the patch: "Fix memory leak in
socfpga_gate_init()" to avoid a conflict.

https://lore.kernel.org/all/20221123031622.63171-1-xiujianfeng@huawei.com/

Marco Pagani (6):
  clk: socfpga: use of_clk_add_hw_provider and improve error handling
  clk: socfpga: arria10: use of_clk_add_hw_provider and improve error
    handling
  clk: socfpga: use of_clk_add_hw_provider and improve error handling
  clk: socfpga: arria10: use of_clk_add_hw_provider and improve error
    handling
  clk: socfpga: use of_clk_add_hw_provider and improve error handling
  clk: socfpga: arria10: use of_clk_add_hw_provider and improve error
    handling

 drivers/clk/socfpga/clk-gate-a10.c   | 26 +++++++++++++++------
 drivers/clk/socfpga/clk-gate.c       | 35 +++++++++++++++++-----------
 drivers/clk/socfpga/clk-periph-a10.c | 22 ++++++++++-------
 drivers/clk/socfpga/clk-periph.c     | 26 ++++++++++++++++-----
 drivers/clk/socfpga/clk-pll-a10.c    | 30 +++++++++++++++++-------
 drivers/clk/socfpga/clk-pll.c        | 32 +++++++++++++++++--------
 6 files changed, 118 insertions(+), 53 deletions(-)

-- 
2.38.1
Re: [PATCH 0/6] clk: socfpga: use of_clk_add_hw_provider and improve error handling
Posted by Stephen Boyd 2 years, 6 months ago
Quoting Marco Pagani (2022-12-09 07:29:07)
> This patch set improves error handling and replaces the deprecated
> of_clk_add_provider() function with of_clk_add_hw_provider() in the
> Intel SoC-FPGA family clock drivers.
> 
> The patch set is based on top of the patch: "Fix memory leak in
> socfpga_gate_init()" to avoid a conflict.
> 
> https://lore.kernel.org/all/20221123031622.63171-1-xiujianfeng@huawei.com/

I was waiting for Dinh to review this. I guess that won't happen so I'll
just go apply this.