Merge remote-tracking branch 'kspp/for-next/kspp'
[deliverable/linux.git] / drivers / dma / mic_x100_dma.c
index 1502b24b7c7dc7f1efe4de95755150753be1c55e..818255844a3c3610f7ec14574bd8acd1095102f4 100644 (file)
@@ -104,10 +104,8 @@ static void mic_dma_cleanup(struct mic_dma_chan *ch)
                tx = &ch->tx_array[last_tail];
                if (tx->cookie) {
                        dma_cookie_complete(tx);
-                       if (tx->callback) {
-                               tx->callback(tx->callback_param);
-                               tx->callback = NULL;
-                       }
+                       dmaengine_desc_get_callback_invoke(tx, NULL);
+                       tx->callback = NULL;
                }
                last_tail = mic_dma_hw_ring_inc(last_tail);
        }
This page took 0.029059 seconds and 5 git commands to generate.