linux/drivers/firmware/imx
Christophe JAILLET 7cad564599 firmware: imx-dsp: Fix an error handling path in imx_dsp_setup_channels()
[ Upstream commit e527adfb9b ]

If mbox_request_channel_byname() fails, the memory allocated a few lines
above still need to be freed before going to the error handling path.

Fixes: 046326989a ("firmware: imx: Save channel name for further use")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2023-10-06 14:56:48 +02:00
..
imx-dsp.c firmware: imx-dsp: Fix an error handling path in imx_dsp_setup_channels() 2023-10-06 14:56:48 +02:00
imx-scu-irq.c firmware: imx: make sure MU irq can wake up system from suspend mode 2020-06-17 21:46:09 +08:00
imx-scu-soc.c firmware: imx: Move i.MX SCU soc driver into imx firmware folder 2020-07-13 10:02:00 +08:00
imx-scu.c firmware: imx: Move i.MX SCU soc driver into imx firmware folder 2020-07-13 10:02:00 +08:00
Kconfig firmware: imx: select SOC_BUS to fix firmware build 2021-01-18 15:49:07 +08:00
Makefile firmware: imx: Move i.MX SCU soc driver into imx firmware folder 2020-07-13 10:02:00 +08:00
misc.c firmware: imx: Align imx_sc_msg_req_cpu_start to 4 2020-02-24 15:27:48 +08:00
rm.c firmware: imx: add get resource owner api 2022-02-12 14:07:36 +08:00
scu-pd.c firmware: imx: scu-pd: imx8q: add vpu mu resources 2022-02-20 14:55:32 +08:00