Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141125
b: refs/heads/master
c: c1f46a0
h: refs/heads/master
i:
  141123: 6d8672a
v: v3
  • Loading branch information
Randy Dunlap authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 2fd4b46 commit 14280a4
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 1782199f96eab4ad28c0334f27eb5a52b6c62428
refs/heads/master: c1f46a001fd878f1be4e08ce1df2d5677e335926
6 changes: 3 additions & 3 deletions trunk/drivers/staging/sxg/sxg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1268,8 +1268,8 @@ static void sxg_interrupt(struct adapter_t *adapter)
{
WRITE_REG(adapter->UcodeRegs[0].Icr, SXG_ICR(0, SXG_ICR_MASK), TRUE);

if (netif_rx_schedule_prep(&adapter->napi)) {
__netif_rx_schedule(&adapter->napi);
if (napi_schedule_prep(&adapter->napi)) {
__napi_schedule(&adapter->napi);
}
}

Expand Down Expand Up @@ -1322,7 +1322,7 @@ static int sxg_poll(struct napi_struct *napi, int budget)
sxg_handle_interrupt(adapter, &work_done, budget);

if (work_done < budget) {
netif_rx_complete(napi);
napi_complete(napi);
WRITE_REG(adapter->UcodeRegs[0].Isr, 0, TRUE);
}
return work_done;
Expand Down

0 comments on commit 14280a4

Please sign in to comment.