Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309502
b: refs/heads/master
c: f380f2c
h: refs/heads/master
v: v3
  • Loading branch information
Grazvydas Ignotas authored and John W. Linville committed May 25, 2012
1 parent 222b9e3 commit 755854b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 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: 75813bde1f671aaab3185a9438da7730d356cea6
refs/heads/master: f380f2c4a12e913356bd49f8790ec1063c4fe9f8
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/ti/wl1251/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,14 +260,14 @@ static int wl1251_sdio_probe(struct sdio_func *func,
}

if (wl->irq) {
irq_set_status_flags(wl->irq, IRQ_NOAUTOEN);
ret = request_irq(wl->irq, wl1251_line_irq, 0, "wl1251", wl);
if (ret < 0) {
wl1251_error("request_irq() failed: %d", ret);
goto disable;
}

irq_set_irq_type(wl->irq, IRQ_TYPE_EDGE_RISING);
disable_irq(wl->irq);

wl1251_sdio_ops.enable_irq = wl1251_enable_line_irq;
wl1251_sdio_ops.disable_irq = wl1251_disable_line_irq;
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/net/wireless/ti/wl1251/spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ static int __devinit wl1251_spi_probe(struct spi_device *spi)

wl->use_eeprom = pdata->use_eeprom;

irq_set_status_flags(wl->irq, IRQ_NOAUTOEN);
ret = request_irq(wl->irq, wl1251_irq, 0, DRIVER_NAME, wl);
if (ret < 0) {
wl1251_error("request_irq() failed: %d", ret);
Expand All @@ -289,8 +290,6 @@ static int __devinit wl1251_spi_probe(struct spi_device *spi)

irq_set_irq_type(wl->irq, IRQ_TYPE_EDGE_RISING);

disable_irq(wl->irq);

ret = wl1251_init_ieee80211(wl);
if (ret)
goto out_irq;
Expand Down

0 comments on commit 755854b

Please sign in to comment.