linux-stable/drivers/firmware/imx
Christophe JAILLET e527adfb9b firmware: imx-dsp: Fix an error handling path in imx_dsp_setup_channels()
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>
2023-09-19 14:12:04 +02:00
..
Kconfig firmware: imx: select SOC_BUS to fix firmware build 2021-01-18 15:49:07 +08:00
Makefile genpd: imx: relocate scu-pd under genpd 2023-08-17 11:33:54 +02:00
imx-dsp.c firmware: imx-dsp: Fix an error handling path in imx_dsp_setup_channels() 2023-09-19 14:12:04 +02:00
imx-scu-irq.c ARM: SoC cleanups for 6.6 2023-08-30 16:49:40 -07:00
imx-scu-soc.c firmware: imx: scu: use soc name for soc_id 2023-08-11 22:13:58 +08:00
imx-scu.c ARM: SoC cleanups for 6.6 2023-08-30 16:49:40 -07: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