Changeset 30446


Ignore:
Timestamp:
2012-02-11T16:12:04+01:00 (6 years ago)
Author:
juhosg
Message:

ramips: raeth: unmap rx DMA address in ramips_cleanup_dma

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/files/drivers/net/ramips.c

    r30445 r30446  
    129129 
    130130        for (i = 0; i < NUM_RX_DESC; i++) 
    131                 if (re->rx_skb[i]) 
     131                if (re->rx_skb[i]) { 
     132                        dma_unmap_single(NULL, re->rx_dma[i], MAX_RX_LENGTH, 
     133                                         DMA_FROM_DEVICE); 
    132134                        dev_kfree_skb_any(re->rx_skb[i]); 
     135                } 
    133136 
    134137        if (re->rx) 
Note: See TracChangeset for help on using the changeset viewer.