public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] clk: renesas: cpg-mssr: fix 'soc' node handling and automate cleanup
@ 2024-10-30 23:25 Javier Carrasco
  2024-10-30 23:25 ` [PATCH 1/2] clk: renesas: cpg-mssr: fix 'soc' node handling in cpg_mssr_reserved_init() Javier Carrasco
  2024-10-30 23:25 ` [PATCH 2/2] clk: renesas: cpg-mssr: automate 'soc' node release " Javier Carrasco
  0 siblings, 2 replies; 6+ messages in thread
From: Javier Carrasco @ 2024-10-30 23:25 UTC (permalink / raw)
  To: Geert Uytterhoeven, Michael Turquette, Stephen Boyd,
	Kuninori Morimoto
  Cc: linux-renesas-soc, linux-clk, linux-kernel, Javier Carrasco,
	stable

This series releases the 'soc' device_node when it is no longer required
by adding the missing calls to of_node_put() to make the fix compatible
with all affected stable kernels. Then, the more robust approach via
cleanup attribute is used to simplify the handling and prevent issues if
the loop gets new execution paths.

These issues were found while analyzing the code, and the patches have
been successfully compiled, but not tested on real hardware as I don't
have access to it. Any volunteering for testing is always more than
welcome.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
Javier Carrasco (2):
      clk: renesas: cpg-mssr: fix 'soc' node handling in cpg_mssr_reserved_init()
      clk: renesas: cpg-mssr: automate 'soc' node release in cpg_mssr_reserved_init()

 drivers/clk/renesas/renesas-cpg-mssr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
base-commit: 86e3904dcdc7e70e3257fc1de294a1b75f3d8d04
change-id: 20241031-clk-renesas-cpg-mssr-cleanup-1933df63bc9c

Best regards,
-- 
Javier Carrasco <javier.carrasco.cruz@gmail.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-10-31 11:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-30 23:25 [PATCH 0/2] clk: renesas: cpg-mssr: fix 'soc' node handling and automate cleanup Javier Carrasco
2024-10-30 23:25 ` [PATCH 1/2] clk: renesas: cpg-mssr: fix 'soc' node handling in cpg_mssr_reserved_init() Javier Carrasco
2024-10-30 23:25 ` [PATCH 2/2] clk: renesas: cpg-mssr: automate 'soc' node release " Javier Carrasco
2024-10-31  6:58   ` Biju Das
2024-10-31  7:03     ` Biju Das
2024-10-31 11:07   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox