summaryrefslogtreecommitdiff
path: root/drivers/firmware
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2019-10-14 18:32:28 +0300
committerShawn Guo <shawnguo@kernel.org>2019-10-28 04:57:13 +0300
commit0e4e8cc30a2940c57448af1376e40d3c0996fb29 (patch)
treea4ec92670dee2c68e972581a7eb20819146d07af /drivers/firmware
parent51f5afabc07a13e3d030076c772a1c36e1687b99 (diff)
downloadlinux-0e4e8cc30a2940c57448af1376e40d3c0996fb29.tar.xz
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>
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/imx/imx-dsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/imx/imx-dsp.c b/drivers/firmware/imx/imx-dsp.c
index a43d2db5cbdb..4265e9dbed84 100644
--- a/drivers/firmware/imx/imx-dsp.c
+++ b/drivers/firmware/imx/imx-dsp.c
@@ -114,7 +114,7 @@ static int imx_dsp_probe(struct platform_device *pdev)
dev_info(dev, "NXP i.MX DSP IPC initialized\n");
- return devm_of_platform_populate(dev);
+ return 0;
out:
kfree(chan_name);
for (j = 0; j < i; j++) {