Home
last modified time | relevance | path

Searched hist:"8 f3c307b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/soc/ti/
H A Dpm33xx.c8f3c307b Thu Jan 05 23:40:22 CST 2023 Miaoqian Lin <linmq006@gmail.com> soc: ti: pm33xx: Fix refcount leak in am33xx_pm_probe

wkup_m3_ipc_get() takes refcount, which should be freed by
wkup_m3_ipc_put(). Add missing refcount release in the error paths.

Fixes: 5a99ae0092fe ("soc: ti: pm33xx: AM437X: Add rtc_only with ddr in self-refresh support")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20230106054022.947529-1-linmq006@gmail.com
Signed-off-by: Nishanth Menon <nm@ti.com>