Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40490
b: refs/heads/master
c: c39c30d
h: refs/heads/master
v: v3
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Oct 30, 2006
1 parent 38b4d50 commit dcf4fc2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a597a473b422f5a69b1f567f12e04db39fa01f39
refs/heads/master: c39c30da2dad1aa3fb61862039634e9480a16fde
8 changes: 6 additions & 2 deletions trunk/arch/mips/tx4938/toshiba_rbtx4938/spi_txx9.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,18 @@ void __init txx9_spi_init(unsigned long base, int (*cs_func)(int chipid, int on)

static DECLARE_WAIT_QUEUE_HEAD(txx9_spi_wait);

static void txx9_spi_interrupt(int irq, void *dev_id)
static irqreturn_t txx9_spi_interrupt(int irq, void *dev_id)
{
/* disable rx intr */
tx4938_spiptr->cr0 &= ~TXx9_SPCR0_RBSIE;
wake_up(&txx9_spi_wait);

return IRQ_HANDLED;
}

static struct irqaction txx9_spi_action = {
txx9_spi_interrupt, 0, 0, "spi", NULL, NULL,
.handler = txx9_spi_interrupt,
.name = "spi",
};

void __init txx9_spi_irqinit(int irc_irq)
Expand Down

0 comments on commit dcf4fc2

Please sign in to comment.