linux_dsm_epyc7002/drivers/soc/ti
Christophe JAILLET 3681476ad6 soc: ti: pm33xx: Fix some resource leak in the error handling paths of the probe function
[ Upstream commit 17ad4662595ea0c4fd7496b664523ef632e63349 ]

'am33xx_pm_rtc_setup()' allocates some resources that must be freed on the
error. Commit 2152fbbd47 ("soc: ti: pm33xx: Simplify RTC usage to prepare
to drop platform data") has introduced the use of these resources but has
only updated the remove function.

Fix the error handling path of the probe function now.

Fixes: 2152fbbd47 ("soc: ti: pm33xx: Simplify RTC usage to prepare to drop platform data")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 11:37:25 +01:00
..
k3-ringacc.c soc: ti: k3: ringacc: add am65x sr2.0 support 2020-09-11 21:34:17 -07:00
k3-socinfo.c soc: ti: k3-socinfo: Add entry for J7200 2020-09-11 21:47:39 -07:00
Kconfig soc: ti: pruss: Enable support for ICSSG subsystems on K3 AM65x SoCs 2020-09-11 21:43:36 -07:00
knav_dma.c soc: ti: Fix reference imbalance in knav_dma_probe 2020-12-30 11:53:18 +01:00
knav_qmss_acc.c soc: TI knav_qmss: make symbol 'knav_acc_range_ops' static 2020-07-24 14:47:10 -07:00
knav_qmss_queue.c drivers: soc: ti: knav_qmss_queue: Fix error return code in knav_queue_probe 2020-12-30 11:53:18 +01:00
knav_qmss.h soc: ti: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
Makefile ARM: SoC-related driver updates 2020-10-24 10:39:22 -07:00
omap_prm.c soc: ti: omap-prm: Fix boot time errors for rst_map_012 bits 0 and 1 2021-02-17 11:02:22 +01:00
pm33xx.c soc: ti: pm33xx: Fix some resource leak in the error handling paths of the probe function 2021-03-04 11:37:25 +01:00
pruss.c soc: ti: pruss: support CORECLK_MUX and IEPCLK_MUX 2020-09-11 21:47:10 -07:00
smartreflex.c PM: AVS: smartreflex Move driver to soc specific drivers 2020-10-16 18:28:43 +02:00
ti_sci_inta_msi.c
ti_sci_pm_domains.c soc: ti: ti_sci_pm_domains: check for proper args count in xlate 2020-10-29 22:13:38 +01:00
wkup_m3_ipc.c soc: ti: wkup_m3_ipc: Fix race condition with rproc_boot 2019-12-17 15:18:36 -08:00