Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

firmware: imx: Remove call to devm_of_platform_populate

IMX DSP device is created by SOF layer. The current call to
devm_of_platform_populate is not needed and it doesn't produce
any effects.

Fixes: ffbf23d50353915d ("firmware: imx: Add DSP IPC protocol interface)
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Daniel Baluta and committed by
Shawn Guo
0e4e8cc3 51f5afab

+1 -1
+1 -1
drivers/firmware/imx/imx-dsp.c
··· 114 114 115 115 dev_info(dev, "NXP i.MX DSP IPC initialized\n"); 116 116 117 - return devm_of_platform_populate(dev); 117 + return 0; 118 118 out: 119 119 kfree(chan_name); 120 120 for (j = 0; j < i; j++) {