Commit 40c0ba86 authored by Troy Kisky's avatar Troy Kisky Committed by Kevin Hilman

ARM: DaVinci: fix ethernet lockup

The patch uses the spinlock version of netif_rx_complete
to fix ethernet lockup.
Signed-off-by: default avatarTroy Kisky <troy.kisky@boundarydevices.com>
Acked-by: default avatarDirk Behme <dirk.behme@gmail.com>
Signed-off-by: default avatarKevin Hilman <khilman@mvista.com>
parent a72d5893
......@@ -6535,7 +6535,7 @@ static int emac_poll(struct napi_struct *napi, int budget)
* pkt_process_end */
if (!pkts_pending) {
emac_pkt_process_end(dev, NULL);
__netif_rx_complete(netdev, napi);
netif_rx_complete(netdev, napi);
return 0;
} else if (!test_bit(0, &dev->set_to_close)) {
return 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment