• Haavard Skinnemoen's avatar
    [AVR32] Make dma_sync_*_for_cpu no-ops · b5a8e736
    Haavard Skinnemoen authored
    I don't think the dma_sync_*_for_cpu ever did anything useful. We
    flush the relevant cache lines when mapping the buffer or when calling
    dma_sync_*_for_device(), and the CPU isn't allowed to touch the buffer
    after that.
    
    In other words, if these functions actually have anything to flush
    from the caches, we're already in trouble.
    Signed-off-by: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
    b5a8e736
dma-mapping.h 11.1 KB