Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98059
b: refs/heads/master
c: cef3340
h: refs/heads/master
i:
  98057: da3bc09
  98055: 2c71bdc
v: v3
  • Loading branch information
Chuck Ebbert authored and Linus Torvalds committed Jun 13, 2008
1 parent 74f5992 commit cfd418b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 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: 30ec261e5f97986644c0982543bc1cee1b2782bf
refs/heads/master: cef33400d0349fb24b6f8b7dea79b66e3144fd8b
21 changes: 10 additions & 11 deletions trunk/drivers/mmc/host/wbsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1457,17 +1457,7 @@ static int __devinit wbsd_request_irq(struct wbsd_host *host, int irq)
int ret;

/*
* Allocate interrupt.
*/

ret = request_irq(irq, wbsd_irq, IRQF_SHARED, DRIVER_NAME, host);
if (ret)
return ret;

host->irq = irq;

/*
* Set up tasklets.
* Set up tasklets. Must be done before requesting interrupt.
*/
tasklet_init(&host->card_tasklet, wbsd_tasklet_card,
(unsigned long)host);
Expand All @@ -1480,6 +1470,15 @@ static int __devinit wbsd_request_irq(struct wbsd_host *host, int irq)
tasklet_init(&host->finish_tasklet, wbsd_tasklet_finish,
(unsigned long)host);

/*
* Allocate interrupt.
*/
ret = request_irq(irq, wbsd_irq, IRQF_SHARED, DRIVER_NAME, host);
if (ret)
return ret;

host->irq = irq;

return 0;
}

Expand Down

0 comments on commit cfd418b

Please sign in to comment.