[MIPS] Fix return value of TXX9 SPI interrupt handler

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by Yoichi Yuasa and committed by Ralf Baechle c39c30da a597a473

+6 -2
+6 -2
arch/mips/tx4938/toshiba_rbtx4938/spi_txx9.c
··· 36 37 static DECLARE_WAIT_QUEUE_HEAD(txx9_spi_wait); 38 39 - static void txx9_spi_interrupt(int irq, void *dev_id) 40 { 41 /* disable rx intr */ 42 tx4938_spiptr->cr0 &= ~TXx9_SPCR0_RBSIE; 43 wake_up(&txx9_spi_wait); 44 } 45 static struct irqaction txx9_spi_action = { 46 - txx9_spi_interrupt, 0, 0, "spi", NULL, NULL, 47 }; 48 49 void __init txx9_spi_irqinit(int irc_irq)
··· 36 37 static DECLARE_WAIT_QUEUE_HEAD(txx9_spi_wait); 38 39 + static irqreturn_t txx9_spi_interrupt(int irq, void *dev_id) 40 { 41 /* disable rx intr */ 42 tx4938_spiptr->cr0 &= ~TXx9_SPCR0_RBSIE; 43 wake_up(&txx9_spi_wait); 44 + 45 + return IRQ_HANDLED; 46 } 47 + 48 static struct irqaction txx9_spi_action = { 49 + .handler = txx9_spi_interrupt, 50 + .name = "spi", 51 }; 52 53 void __init txx9_spi_irqinit(int irc_irq)