All of lore.kernel.org
 help / color / mirror / Atom feed
From: swarren@wwwdotorg.org (Stephen Warren)
To: linux-arm-kernel@lists.infradead.org
Subject: drivers/dma/edma.c unconditional registration
Date: Fri, 21 Mar 2014 14:53:16 -0600	[thread overview]
Message-ID: <532CA6BC.9010506@wwwdotorg.org> (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.

                 reply	other threads:[~2014-03-21 20:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=532CA6BC.9010506@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.