|
@@ -863,6 +863,7 @@ int cpdma_chan_stop(struct cpdma_chan *chan)
|
|
|
|
|
|
next_dma = desc_read(desc, hw_next);
|
|
next_dma = desc_read(desc, hw_next);
|
|
chan->head = desc_from_phys(pool, next_dma);
|
|
chan->head = desc_from_phys(pool, next_dma);
|
|
|
|
+ chan->count--;
|
|
chan->stats.teardown_dequeue++;
|
|
chan->stats.teardown_dequeue++;
|
|
|
|
|
|
/* issue callback without locks held */
|
|
/* issue callback without locks held */
|