mbox series

[v2,0/3] clk: fsl-sai: fix memory leak

Message ID 20201105192746.19564-1-michael@walle.cc (mailing list archive)
Headers show
Series clk: fsl-sai: fix memory leak | expand

Message

Michael Walle Nov. 5, 2020, 7:27 p.m. UTC
Patch 1 will fix the memory leak and can be picked up by the stable queues.
Patch 2-3 will add and use the devm_ variant to simplify the handling.

Please note that the new devm_ isn't exported as the original one isn't
exported either. I'm planning to post another patch which will add module
support to the clk-fsl-sai driver and this will then export the function.

Michael Walle (3):
  clk: fsl-sai: fix memory leak
  clk: composite: add devm_clk_hw_register_composite_pdata()
  clk: fsl-sai: use devm_clk_hw_register_composite_pdata()

 drivers/clk/clk-composite.c  | 50 ++++++++++++++++++++++++++++++++++++
 drivers/clk/clk-fsl-sai.c    | 14 +++++-----
 include/linux/clk-provider.h |  7 +++++
 3 files changed, 64 insertions(+), 7 deletions(-)