Merge branch 'topic/ste_dma40' into for-linus
authorVinod Koul <vinod.koul@intel.com>
Mon, 3 Oct 2016 04:05:55 +0000 (09:35 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 3 Oct 2016 04:05:55 +0000 (09:35 +0530)
1  2 
drivers/dma/ste_dma40.c

@@@ -1618,12 -1645,11 +1617,11 @@@ static void dma_tasklet(unsigned long d
  
        spin_unlock_irqrestore(&d40c->lock, flags);
  
 -      if (callback_active && callback)
 -              callback(callback_param);
 +      if (callback_active)
 +              dmaengine_desc_callback_invoke(&cb, NULL);
  
        return;
- err:
+  check_pending_tx:
        /* Rescue manouver if receiving double interrupts */
        if (d40c->pending_tx > 0)
                d40c->pending_tx--;