public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
* drivers/dma/edma.c unconditional registration
@ 2014-03-21 20:53 Stephen Warren
  0 siblings, 0 replies; only message in thread
From: Stephen Warren @ 2014-03-21 20:53 UTC (permalink / raw)
  To: linux-arm-kernel

I see the following code which unconditionally registers an SoC-specific
DMA driver in drivers/dma/edma.c:

static int edma_init(void)
{
        int ret = platform_driver_register(&edma_driver);

        if (ret == 0) {
                pdev0 = platform_device_register_full(&edma_dev_info0);
...
}
subsys_initcall(edma_init);

This means that when I boot multi_v7_defconfig on a Tegra system, that
driver probes. Luckily, this doesn't actually seem to cause any visible
symptoms beyond the syslog entry "edma-dma-engine edma-dma-engine.0:
Can't allocate PaRAM dummy slot", but still should be fixed.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-21 20:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-21 20:53 drivers/dma/edma.c unconditional registration Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox