diff options
Diffstat (limited to 'drivers/net/wan')
-rw-r--r-- | drivers/net/wan/ixp4xx_hss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wan/ixp4xx_hss.c b/drivers/net/wan/ixp4xx_hss.c index 765a7f5d6aa4..08b1a284b690 100644 --- a/drivers/net/wan/ixp4xx_hss.c +++ b/drivers/net/wan/ixp4xx_hss.c | |||
@@ -731,8 +731,8 @@ static int hss_hdlc_poll(struct napi_struct *napi, int budget) | |||
731 | dma_unmap_single(&dev->dev, desc->data, | 731 | dma_unmap_single(&dev->dev, desc->data, |
732 | RX_SIZE, DMA_FROM_DEVICE); | 732 | RX_SIZE, DMA_FROM_DEVICE); |
733 | #else | 733 | #else |
734 | dma_sync_single(&dev->dev, desc->data, | 734 | dma_sync_single_for_cpu(&dev->dev, desc->data, |
735 | RX_SIZE, DMA_FROM_DEVICE); | 735 | RX_SIZE, DMA_FROM_DEVICE); |
736 | memcpy_swab32((u32 *)skb->data, (u32 *)port->rx_buff_tab[n], | 736 | memcpy_swab32((u32 *)skb->data, (u32 *)port->rx_buff_tab[n], |
737 | ALIGN(desc->pkt_len, 4) / 4); | 737 | ALIGN(desc->pkt_len, 4) / 4); |
738 | #endif | 738 | #endif |