]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/dma/timb_dma.c
dmaengine: timb_dma: Use proper enum in td_prep_slave_sg
[mirror_ubuntu-bionic-kernel.git] / drivers / dma / timb_dma.c
index 896bafb7a53240e3bac1679a79177840fc81bcd1..cf6588cc3efdc912a33ada465df21d2e1a96464f 100644 (file)
@@ -545,7 +545,7 @@ static struct dma_async_tx_descriptor *td_prep_slave_sg(struct dma_chan *chan,
        }
 
        dma_sync_single_for_device(chan2dmadev(chan), td_desc->txd.phys,
-               td_desc->desc_list_len, DMA_MEM_TO_DEV);
+               td_desc->desc_list_len, DMA_TO_DEVICE);
 
        return &td_desc->txd;
 }