lkml.org 
[lkml]   [2008]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] fsl-dma: allow Freescale Elo DMA driver to be compiled as a module
Timur Tabi wrote:
> There are no dependencies. fsldma registers with the DMA engine,
> which is always built in-kernel. The DMA engine is what handles
> linking DMA clients to DMA drivers. The DMA clients get a callback
> whenever a DMA driver registers with the DMA engine. If the DMA
> driver is already registered when the client registers, then the
> client will get a callback immediately after it registers.
>
> I chose subsys_initcall() to increase the probability that fsldma is
> already present when DMA clients are loaded/initialized and register.

If there's no dependency, why does it matter whether fsldma is already
present?

-Scott


\
 
 \ /
  Last update: 2008-09-25 21:03    [W:0.051 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site