linux/arch/arm/mach-omap2
Chen Hui e3a6af3059 ARM: OMAP2+: Fix memory leak in realtime_counter_init()
[ Upstream commit ed8167cbf65c2b6ff6faeb0f96ded4d6d581e1ac ]

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

Fixes: fa6d79d27614 ("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-11 16:31:31 +01:00
..
2017-09-19 11:04:56 -07:00
2017-07-17 15:04:47 +02:00
2018-04-16 10:22:40 -07:00
2019-12-13 08:52:11 +01:00
2018-04-30 12:04:51 -07:00
2015-07-16 00:06:05 -07:00
2015-07-20 10:52:36 -07:00
2018-06-11 17:49:09 -07:00
2017-10-10 14:27:13 -07:00
2016-06-10 04:17:07 -07:00