WSL2-Linux-Kernel/arch/arm/mach-omap2
Chen Hui 10fcdad2b9 ARM: OMAP2+: Fix memory leak in realtime_counter_init()
[ Upstream commit ed8167cbf6 ]

The "sys_clk" resource is malloced by clk_get(),
it is not released when the function return.

Fixes: fa6d79d276 ("ARM: OMAP: Add initialisation for the real-time counter.")
Signed-off-by: Chen Hui <judy.chenhui@huawei.com>
Message-Id: <20221108141917.46796-1-judy.chenhui@huawei.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:38:57 +01:00
..
include/mach
.gitignore
Kconfig drivers: bus: Delete CONFIG_SIMPLE_PM_BUS 2021-10-05 17:47:22 +02:00
Makefile ARM: OMAP2+: Stop building legacy code for dra7 and omap4/5 2021-03-12 10:11:24 +02:00
am33xx-restart.c
am33xx.h
board-generic.c ARM: OMAP2+: Fix warning for omap_init_time_of() 2021-03-24 12:23:58 +02:00
board-n8x0.c ARM: OMAP2+: Fix build warning when mmc_omap is not built 2021-05-18 09:44:42 +03:00
clkt2xxx_dpll.c
clkt2xxx_dpllcore.c
clkt2xxx_virt_prcm_set.c ARM: OMAP2+: Fix kfree NULL pointer in omap2xxx_clkt_vps_init 2020-11-19 11:44:46 +02:00
clock.c
clock.h
clock2xxx.h
clock3xxx.h
clockdomain.c ARM: OMAP2+: fix spellint typo 2021-01-26 13:43:17 +02:00
clockdomain.h
clockdomains2xxx_3xxx_data.c
clockdomains3xxx_data.c
clockdomains7xx_data.c
clockdomains33xx_data.c
clockdomains43xx_data.c
clockdomains44xx_data.c
clockdomains54xx_data.c
clockdomains81xx_data.c
clockdomains2420_data.c
clockdomains2430_data.c
cm-regbits-7xx.h
cm-regbits-24xx.h
cm-regbits-33xx.h
cm-regbits-34xx.h
cm-regbits-44xx.h
cm-regbits-54xx.h
cm.h ARM: OMAP2+: CM: remove omap2_set_globals_cm() 2021-05-21 12:27:59 +03:00
cm1_7xx.h
cm1_44xx.h
cm1_54xx.h
cm2_7xx.h
cm2_44xx.h
cm2_54xx.h
cm2xxx.c
cm2xxx.h
cm2xxx_3xxx.h
cm3xxx.c
cm3xxx.h
cm33xx.c
cm33xx.h
cm44xx.h
cm81xx.h
cm_common.c ARM: OMAP2+: CM: remove omap2_set_globals_cm() 2021-05-21 12:27:59 +03:00
cminst44xx.c
common-board-devices.h
common.c
common.h ARM: OMAP2+: remove duplicated prototype 2021-06-11 10:41:35 +03:00
control.c ARM: OMAP2+: remove omap2_set_globals_control() 2021-05-21 12:28:47 +03:00
control.h ARM: OMAP2+: remove omap2_set_globals_control() 2021-05-21 12:28:47 +03:00
cpuidle34xx.c
cpuidle44xx.c ARM: OMAP2+: Fix suspcious RCU usage splats for omap_enter_idle_coupled 2021-01-15 12:48:07 +02:00
ctrl_module_wkup_44xx.h
devices.c
display.c ARM: OMAP2+: Fix refcount leak in omapdss_init_of 2022-08-17 14:23:08 +02:00
display.h
dma.c
fb.c
gpmc.h
hdq1w.c
hdq1w.h
i2c.c
i2c.h
id.c
id.h
io.c ARM: OMAP2+: Stop building legacy code for dra7 and omap4/5 2021-03-12 10:11:24 +02:00
iomap.h
l3_2xxx.h
l3_3xxx.h
l4_2xxx.h
l4_3xxx.h
mcbsp.c
mmc.h
msdi.c
omap-headsmp.S
omap-hotplug.c
omap-iommu.c
omap-mpuss-lowpower.c
omap-secure.c ARM: OMAP4: PM: update ROM return address for OSWR and OFF 2021-03-17 15:15:52 +02:00
omap-secure.h ARM: OMAP4: PM: update ROM return address for OSWR and OFF 2021-03-17 15:15:52 +02:00
omap-smc.S
omap-smp.c
omap-wakeupgen.c
omap-wakeupgen.h
omap2-restart.c
omap3-restart.c
omap4-common.c ARM: OMAP2+: Fix refcount leak in omap_gic_of_init 2022-05-09 09:14:32 +02:00
omap4-restart.c
omap4-sar-layout.h
omap24xx.h
omap34xx.h
omap44xx.h
omap54xx.h
omap_device.c Merge branch 'cpuidle-fix' into fixes 2021-01-15 12:48:43 +02:00
omap_device.h
omap_hwmod.c ARM: OMAP2+: hwmod: Add of_node_put() before break 2022-02-23 12:03:17 +01:00
omap_hwmod.h ARM: OMAP2+: Stop building legacy code for dra7 and omap4/5 2021-03-12 10:11:24 +02:00
omap_hwmod_2xxx_3xxx_ipblock_data.c
omap_hwmod_2xxx_interconnect_data.c
omap_hwmod_2xxx_ipblock_data.c
omap_hwmod_3xxx_data.c
omap_hwmod_81xx_data.c
omap_hwmod_2420_data.c
omap_hwmod_2430_data.c
omap_hwmod_common_data.c
omap_hwmod_common_data.h
omap_hwmod_common_ipblock_data.c
omap_hwmod_reset.c
omap_opp_data.h
omap_phy_internal.c
omap_twl.c ARM: OMAP2+: fix incorrect kernel-doc comment syntax in file 2021-03-31 09:04:22 +03:00
opp2xxx.h
opp3xxx_data.c
opp4xxx_data.c
opp2420_data.c
opp2430_data.c
pdata-quirks.c ARM: OMAP2+: pdata-quirks: Fix refcount leak bug 2022-08-17 14:23:03 +02:00
pm-asm-offsets.c
pm-debug.c ARM: OMAP2+: Replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE 2021-03-24 13:27:36 +02:00
pm.c
pm.h
pm24xx.c
pm33xx-core.c ARM: OMAP2+: Block suspend for am3 and am4 if PM is not configured 2021-06-11 10:43:08 +03:00
pm34xx.c memory: omap-gpmc: Drop custom PM calls with cpu_pm notifier 2021-07-29 09:02:27 +02:00
pm44xx.c
pmic-cpcap.c ARM: OMAP4: Fix PMIC voltage domains for bionic 2021-03-17 15:15:45 +02:00
powerdomain-common.c
powerdomain.c ARM: OMAP2+: use true and false for bool variable 2021-03-24 14:11:43 +02:00
powerdomain.h
powerdomains2xxx_3xxx_data.c
powerdomains2xxx_3xxx_data.h
powerdomains2xxx_data.c
powerdomains3xxx_data.c
powerdomains7xx_data.c
powerdomains33xx_data.c
powerdomains43xx_data.c
powerdomains44xx_data.c
powerdomains54xx_data.c
prcm-common.h
prcm43xx.h
prcm44xx.h
prcm_mpu7xx.h
prcm_mpu44xx.c
prcm_mpu44xx.h
prcm_mpu54xx.h
prcm_mpu_44xx_54xx.h
prm-regbits-24xx.h
prm-regbits-33xx.h
prm-regbits-34xx.h
prm-regbits-44xx.h
prm.h
prm2xxx.c
prm2xxx.h
prm2xxx_3xxx.c
prm2xxx_3xxx.h
prm3xxx.c ARM: OMAP2+: Fix refcount leak in omap3xxx_prm_late_init 2022-08-17 14:23:09 +02:00
prm3xxx.h
prm7xx.h
prm33xx.c
prm33xx.h
prm44xx.c
prm44xx.h
prm44xx_54xx.h
prm54xx.h
prm_common.c
prminst44xx.c
prminst44xx.h
scrm44xx.h
scrm54xx.h
sdrc.c
sdrc.h
sdrc2xxx.c
serial.h
sleep24xx.S
sleep33xx.S
sleep34xx.S
sleep43xx.S
sleep44xx.S
smartreflex-class3.c
soc.h
sr_device.c ARM: SoC changes for v5.13 2021-04-26 11:48:26 -07:00
sram.c
sram.h
sram242x.S
sram243x.S
ti81xx-restart.c
ti81xx.h
timer.c ARM: OMAP2+: Fix memory leak in realtime_counter_init() 2023-03-10 09:38:57 +01:00
usb-tusb6010.c
usb.h
vc.c
vc.h
vc3xxx_data.c
vc44xx_data.c
voltage.c
voltage.h
voltagedomains2xxx_data.c
voltagedomains3xxx_data.c
voltagedomains44xx_data.c
voltagedomains54xx_data.c
vp.c
vp.h
vp3xxx_data.c
vp44xx_data.c
wd_timer.c
wd_timer.h