staging: et131x: Fix ET_INTR_TXDMA_ISR register name typo
authorMark Einon <mark.einon@gmail.com>
Wed, 20 Aug 2014 22:17:57 +0000 (23:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 20:34:47 +0000 (13:34 -0700)
We actually mean to clear the ET_INTR_TXDMA_ISR reg after handling
a completed transfer, not the ET_INTR_TXDMA_ERR reg, which should
get handled immediately after.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/et131x.c

index 6281c8623271846d0eec3dbf80fff0dd66197277..108537e9159bdbcd0d0c39ee64119cf86e8d9744 100644 (file)
@@ -3903,7 +3903,7 @@ static void et131x_isr_handler(struct work_struct *work)
        if (status & ET_INTR_RXDMA_XFR_DONE)
                et131x_handle_recv_interrupt(adapter);
 
-       status &= ~(ET_INTR_TXDMA_ERR | ET_INTR_RXDMA_XFR_DONE);
+       status &= ~(ET_INTR_TXDMA_ISR | ET_INTR_RXDMA_XFR_DONE);
 
        if (!status)
                goto out;