linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Unconditional registering EMDA platform devices
@ 2014-10-24 14:29 Andrew Lunn
  2014-10-24 16:14 ` Arnd Bergmann
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Lunn @ 2014-10-24 14:29 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Matt

I've had a report of a Debian kernel running on a Marvell XP system
giving warnings:

[    0.114771] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy slot
[    0.114794] edma-dma-engine: probe of edma-dma-engine.0 failed with error -5

These seem to be coming from drivers/dma/emda.c

That driver has a subsys_initcall(edma_init);

and the edma_init function is unconditionally registering a driver and
a platform device. For a multiarch kernel, this is not a good idea.

Please could you make this conditionally. Maybe look into the DT and
see if the DMA is needed on the platform?

Thanks
	Andrew

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

end of thread, other threads:[~2014-11-06 10:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-24 14:29 Unconditional registering EMDA platform devices Andrew Lunn
2014-10-24 16:14 ` Arnd Bergmann
2014-10-25 18:48   ` Uwe Kleine-König
2014-10-25 18:57     ` Arnd Bergmann
2014-11-06 10:22       ` Sekhar Nori

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).