Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171199
b: refs/heads/master
c: 339ccc3
h: refs/heads/master
i:
  171197: 8da4993
  171195: e5c8eef
  171191: 81368c1
  171183: 34ea432
  171167: 68dd5c5
  171135: e33ed17
v: v3
  • Loading branch information
Cindy H Kao authored and Inaky Perez-Gonzalez committed Oct 19, 2009
1 parent d740c36 commit 6fbfd01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 2093586de29418820b89aae05746511392f8ad73
refs/heads/master: 339ccc362cb60b48e478ff494172efadb385c0ab
6 changes: 5 additions & 1 deletion trunk/drivers/net/wimax/i2400m/sdio-rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ void i2400ms_rx(struct i2400ms *i2400ms)
ret = rx_size;
goto error_get_size;
}
/*
* Hardware quirk: make sure to clear the INTR status register
* AFTER getting the data transfer size.
*/
sdio_writeb(func, 1, I2400MS_INTR_CLEAR_ADDR, &ret);

ret = -ENOMEM;
skb = alloc_skb(rx_size, GFP_ATOMIC);
Expand Down Expand Up @@ -209,7 +214,6 @@ void i2400ms_irq(struct sdio_func *func)
dev_err(dev, "RX: BUG? got IRQ but no interrupt ready?\n");
goto error_no_irq;
}
sdio_writeb(func, 1, I2400MS_INTR_CLEAR_ADDR, &ret);
i2400ms_rx(i2400ms);
error_no_irq:
d_fnend(6, dev, "(i2400ms %p) = void\n", i2400ms);
Expand Down

0 comments on commit 6fbfd01

Please sign in to comment.