Skip to contentSkip to conversation

drivers/dma/edma.c unconditional registration

DISCUSSION Stephen Warren 1 participant 1 message Mar 21, 2014

lore
Share & tools
lore
#0 lore raw

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.