diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-11-25 18:45:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-10 09:33:33 +0100 |
commit | a68a09cc4b0f246ecdd66186a6cd022e3973a6c9 (patch) | |
tree | d0fc319955a26653d68ef69e559313cc119dfde8 /drivers/base/core.c | |
parent | 942c1239ff2e7608a6e6177c89a8799dacc8aae9 (diff) |
misc: fastrpc: Fix an error handling path in fastrpc_rpmsg_probe()
[ Upstream commit 11819ed2b70da94acc41fec34178a011c4d3d25d ]
If of_platform_populate() fails, some resources need to be freed as already
done in the other error handling paths.
Fixes: 278d56f970ae ("misc: fastrpc: Reference count channel context")
Fixes: 3abe3ab3cdab ("misc: fastrpc: add secure domain support")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/b909d2f3273b794ea0f1f78d14bc24affb08ea5f.1669398274.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/base/core.c')
0 files changed, 0 insertions, 0 deletions