drivers: net: davinci_cpdma: acknowledge interrupt properly
authorMugunthan V N <mugunthanvnm@ti.com>
Sun, 17 Feb 2013 22:19:20 +0000 (22:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Feb 2013 19:51:50 +0000 (14:51 -0500)
commit510a1e7249298f6bbd049e1ec98041ddf5ef6452
tree51604f599a9ffc5f7e824235c52b5975eb51e315
parent4153577a8d318ae02b3791341e10e78416de402f
drivers: net: davinci_cpdma: acknowledge interrupt properly

CPDMA interrupts are not properly acknowledged which leads to interrupt
storm, only cpdma interrupt 0 is acknowledged in Davinci CPDMA driver.
Changed cpdma_ctlr_eoi api to acknowledge 1 and 2 interrupts which are
used for rx and tx respectively.

Reported-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c
drivers/net/ethernet/ti/davinci_cpdma.c
drivers/net/ethernet/ti/davinci_cpdma.h