Centos-kernel-stream-9/drivers/clk
Radu Rendec 5b19489975 clk: renesas: cpg-mssr: Fix 'soc' node handling in cpg_mssr_reserved_init()
JIRA: https://issues.redhat.com/browse/RHEL-77190

commit a6ca7e6240f0651412da6a17d0e7a8f66d3455a6
Author: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Date:   Thu Oct 31 13:43:16 2024 +0100

    clk: renesas: cpg-mssr: Fix 'soc' node handling in cpg_mssr_reserved_init()

    A device_node reference obtained via of_find_node_by_path() requires
    explicit calls to of_node_put() after it is no longer required to avoid
    leaking the resource.

    Instead of adding the missing calls to of_node_put() in all execution
    paths, use the cleanup attribute for 'soc' by means of the __free()
    macro, which automatically calls of_node_put() when the variable goes
    out of scope.

    Fixes: 6aa175476490 ("clk: renesas: cpg-mssr: Ignore all clocks assigned to non-Linux system")
    Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
    Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Link: https://lore.kernel.org/20241031-clk-renesas-cpg-mssr-cleanup-v2-1-0010936d1154@gmail.com
    Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Signed-off-by: Radu Rendec <rrendec@redhat.com>
2025-01-31 16:12:15 -05:00
..
actions
analogbits
at91 clk: Stop forwarding clk_rate_requests to the parent 2024-03-26 19:04:18 -04:00
axis
axs10x treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_56.RULE (part 2) 2024-03-26 19:04:16 -04:00
baikal-t1
bcm
berlin
davinci
h8300
hisilicon
imgtec
imx clk: imx: imx8mp: Fix SAI_MCLK_SEL definition 2024-04-04 08:57:50 -04:00
ingenic
keystone clk: keystone: syscon-clk: Fix audio refclk 2024-07-15 13:36:43 -05:00
loongson1
mediatek
meson
microchip
mmp treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_56.RULE (part 2) 2024-03-26 19:04:16 -04:00
mstar
mvebu clk: move from strlcpy with unused retval to strscpy 2024-03-26 19:04:17 -04:00
mxs
nxp clk: nxp: fix typo in comment 2024-03-26 19:04:17 -04:00
pistachio
pxa
qcom clk: qcom: Revert sync_state based clk_disable_unused 2024-04-04 08:57:26 -04:00
ralink
renesas clk: renesas: cpg-mssr: Fix 'soc' node handling in cpg_mssr_reserved_init() 2025-01-31 16:12:15 -05:00
rockchip clk: fractional-divider: Export approximation algorithm to the CCF users 2024-03-26 15:44:59 -04:00
samsung clk: remove s3c24xx driver 2024-06-24 15:15:30 -04:00
sifive
socfpga clk: socfpga: remove the setting of clk-phase for sdmmc_clk 2024-06-24 15:15:33 -04:00
spear treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_56.RULE (part 2) 2024-03-26 19:04:16 -04:00
sprd clk: Use of_property_present() for testing DT property presence 2024-04-04 08:57:43 -04:00
st
sunxi
sunxi-ng Revert "clk: sunxi-ng: sun6i-rtc: Add support for H6" 2023-05-30 13:35:03 +10:00
tegra clk: tegra: fix error return case for recalc_rate 2024-04-04 08:57:48 -04:00
ti
uniphier
ux500
versatile clk: Use of_property_present() 2025-01-31 16:12:15 -05:00
x86
xilinx
zynq
zynqmp
.kunitconfig clk: explicitly disable CONFIG_UML_PCI_OVER_VIRTIO in .kunitconfig 2023-04-17 11:47:37 -06:00
Kconfig drivers/clk: Remove "select SRCU" 2023-12-05 17:57:45 -07:00
Makefile clk: Introduce Kunit Tests for the framework 2023-04-17 11:47:33 -06:00
clk-asm9260.c clk: asm9260: use parent index to link the reference clock 2023-05-18 16:11:12 -04:00
clk-aspeed.c
clk-aspeed.h
clk-ast2600.c
clk-axi-clkgen.c
clk-axm5516.c
clk-bd718x7.c
clk-bm1880.c
clk-bulk.c clk: bulk: Use dev_err_probe() helper in __clk_bulk_get() 2024-03-26 19:04:19 -04:00
clk-cdce706.c
clk-cdce925.c
clk-clps711x.c
clk-composite.c clk: composite: Fix handling of high clock rates 2024-04-04 08:57:44 -04:00
clk-conf.c clk: add missing of_node_put() in "assigned-clocks" property parsing 2024-04-04 08:57:43 -04:00
clk-cs2000-cp.c
clk-devres.c clk: Provide managed helper to get and enable bulk clocks 2024-04-04 08:57:50 -04:00
clk-divider.c clk: Introduce clk_hw_init_rate_request() 2024-03-26 19:04:18 -04:00
clk-fixed-factor.c clk: fixed-factor: add fwname-based constructor functions 2024-04-04 08:57:50 -04:00
clk-fixed-mmio.c
clk-fixed-rate.c clk: fixed-rate: Remove redundant if statement 2024-04-05 11:12:34 -04:00
clk-fractional-divider.c clk: fractional-divider: Use bit operations consistently 2024-04-04 08:57:50 -04:00
clk-fractional-divider.h clk: fractional-divider: Hide clk_fractional_divider_ops from wide audience 2024-03-26 15:44:59 -04:00
clk-fsl-flexspi.c
clk-fsl-sai.c
clk-gate.c clk: gate: fix comment typo and grammar 2024-04-04 08:57:49 -04:00
clk-gate_test.c clk: Fix clk gate kunit test on big-endian CPUs 2024-04-04 08:57:49 -04:00
clk-gemini.c
clk-gpio.c
clk-hi655x.c
clk-highbank.c
clk-hsdk-pll.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_56.RULE (part 2) 2024-03-26 19:04:16 -04:00
clk-k210.c
clk-lmk04832.c
clk-lochnagar.c
clk-max9485.c
clk-max77686.c
clk-milbeaut.c
clk-moxart.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_56.RULE (part 2) 2024-03-26 19:04:16 -04:00
clk-multiplier.c
clk-mux.c clk: mux: remove redundant initialization of variable width 2024-03-26 15:45:03 -04:00
clk-nomadik.c
clk-npcm7xx.c
clk-nspire.c
clk-oxnas.c
clk-palmas.c
clk-plldig.c
clk-pwm.c
clk-qoriq.c
clk-rk808.c
clk-s2mps11.c
clk-scmi.c firmware: arm_scmi: Simplify enable/disable clock operations 2024-01-20 19:35:43 -05:00
clk-scpi.c
clk-si514.c
clk-si544.c
clk-si570.c
clk-si5341.c
clk-si5351.c
clk-si5351.h
clk-sparx5.c
clk-stm32f4.c
clk-stm32h7.c
clk-stm32mp1.c
clk-twl6040.c
clk-versaclock5.c
clk-vt8500.c
clk-wm831x.c
clk-xgene.c
clk.c clk: Use of_property_present() 2025-01-31 16:12:15 -05:00
clk.h
clk_test.c clk: Parameterize clk_leaf_mux_set_rate_parent 2024-04-04 08:57:49 -04:00
clkdev.c clkdev: Update clkdev id usage to allow for longer names 2024-04-04 08:57:50 -04:00