mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 13:14:02 +02:00
imx_scu_probe() requests mailbox channels with the non-managed mbox_request_channel_byname() helper and then publishes sc_ipc through the global imx_sc_ipc_handle. Later probe failures, including child population failure, can leave the channels and global handle live after the probe has failed. Register devres actions to free each mailbox channel and clear the global handle. Also depopulate partially created child devices when devm_of_platform_populate() reports an error. Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn> Signed-off-by: Frank Li <Frank.Li@nxp.com> |
||
|---|---|---|
| .. | ||
| imx-dsp.c | ||
| imx-scu-irq.c | ||
| imx-scu-soc.c | ||
| imx-scu.c | ||
| Kconfig | ||
| Makefile | ||
| misc.c | ||
| rm.c | ||
| sm-cpu.c | ||
| sm-lmm.c | ||
| sm-misc.c | ||