diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/ti/davinci_cpdma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/davinci_cpdma.c b/drivers/net/ethernet/ti/davinci_cpdma.c index d15c888e9df8..49956730cd8d 100644 --- a/drivers/net/ethernet/ti/davinci_cpdma.c +++ b/drivers/net/ethernet/ti/davinci_cpdma.c | |||
@@ -863,6 +863,7 @@ int cpdma_chan_stop(struct cpdma_chan *chan) | |||
863 | 863 | ||
864 | next_dma = desc_read(desc, hw_next); | 864 | next_dma = desc_read(desc, hw_next); |
865 | chan->head = desc_from_phys(pool, next_dma); | 865 | chan->head = desc_from_phys(pool, next_dma); |
866 | chan->count--; | ||
866 | chan->stats.teardown_dequeue++; | 867 | chan->stats.teardown_dequeue++; |
867 | 868 | ||
868 | /* issue callback without locks held */ | 869 | /* issue callback without locks held */ |