• David Brownell's avatar
    streamline davinci_mmc transfer setup · 7029db6f
    David Brownell authored
    Split DMA transfer setup in two parts:  template setup, where all of
    the stable transfer parameters get arranged; and transfer setup, where
    the template is populated with the right buffer.  Later, the template
    is used with each scatterlist segment.  (Minor runtime code shrink.)
    
    Disable transfer completion IRQs; we don't use them, there's no point
    in wasting time in the IRQ handling stack.  We only care about DMA
    callbacks for error detection.  (Minor runtime speedup.)
    
    Stop using the typedef for "struct edmacc_param".
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
    7029db6f
davinci_mmc.c 34.4 KB