]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit27791b72054a0aa959b5bb55d2f988cec521b2ae
tree51604f599a9ffc5f7e824235c52b5975eb51e315
parentdc9940981f0bb2f1cdc1fa9218d26f6ba97de8b4
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