linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] firmware: imx: Remove call to devm_of_platform_populate
@ 2019-10-14 15:32 Daniel Baluta
  2019-10-26 11:23 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Baluta @ 2019-10-14 15:32 UTC (permalink / raw)
  To: shawnguo
  Cc: festevam, s.hauer, linux-kernel, linux, linux-imx, kernel,
	daniel.baluta, linux-arm-kernel

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>
---
 drivers/firmware/imx/imx-dsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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++) {
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] firmware: imx: Remove call to devm_of_platform_populate
  2019-10-14 15:32 [PATCH] firmware: imx: Remove call to devm_of_platform_populate Daniel Baluta
@ 2019-10-26 11:23 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2019-10-26 11:23 UTC (permalink / raw)
  To: Daniel Baluta
  Cc: s.hauer, linux-kernel, linux, linux-imx, kernel, festevam,
	linux-arm-kernel

On Mon, Oct 14, 2019 at 06:32:28PM +0300, Daniel Baluta wrote:
> 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>

Applied, thanks.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-26 11:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-14 15:32 [PATCH] firmware: imx: Remove call to devm_of_platform_populate Daniel Baluta
2019-10-26 11:23 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).