Skip to content
  • Mike Frysinger's avatar
    Blackfin: fix early_dma_memcpy() handling of busy channels · 532f07ca
    Mike Frysinger authored
    
    
    The early logic to locate a free DMA channel and then set it up was broken
    in a few ways that only manifested itself when we needed to set up more
    than 2 on chip SRAM regions (most board defaults setup 1 or 2).  First, we
    checked the wrong status register (the destination gets updated, not the
    source) and second, we did the ssync before rather than after resetting a
    DMA config register.
    
    Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
    532f07ca