Commit 0e4e8cc3 authored by Daniel Baluta's avatar Daniel Baluta Committed by Shawn Guo

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: ffbf23d5 ("firmware: imx: Add DSP IPC protocol interface)
Signed-off-by: default avatarDaniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 51f5afab
...@@ -114,7 +114,7 @@ static int imx_dsp_probe(struct platform_device *pdev) ...@@ -114,7 +114,7 @@ static int imx_dsp_probe(struct platform_device *pdev)
dev_info(dev, "NXP i.MX DSP IPC initialized\n"); dev_info(dev, "NXP i.MX DSP IPC initialized\n");
return devm_of_platform_populate(dev); return 0;
out: out:
kfree(chan_name); kfree(chan_name);
for (j = 0; j < i; j++) { for (j = 0; j < i; j++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment