mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
soc: ti: pm33xx: Fix refcount leak in am33xx_pm_probe
[ Upstream commit8f3c307b58] wkup_m3_ipc_get() takes refcount, which should be freed by wkup_m3_ipc_put(). Add missing refcount release in the error paths. Fixes:5a99ae0092("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
f5222fbd79
commit
6dbcc493a1
1 changed files with 3 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue