Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166272
b: refs/heads/master
c: a8696c8
h: refs/heads/master
v: v3
  • Loading branch information
Michael Buesch authored and John W. Linville committed Sep 23, 2009
1 parent 06fccff commit 2fc509b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 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: ce6c4a13927bc0418169fe543c6614abfab051eb
refs/heads/master: a8696c800b8154e27b359866f7b837079cdb513a
6 changes: 0 additions & 6 deletions trunk/drivers/net/wireless/b43/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1914,20 +1914,14 @@ static irqreturn_t b43_interrupt_handler(int irq, void *dev_id)
static void b43_sdio_interrupt_handler(struct b43_wldev *dev)
{
struct b43_wl *wl = dev->wl;
struct sdio_func *func = dev->dev->bus->host_sdio;
irqreturn_t ret;

if (unlikely(b43_status(dev) < B43_STAT_STARTED))
return;

mutex_lock(&wl->mutex);
sdio_release_host(func);

ret = b43_do_interrupt(dev);
if (ret == IRQ_WAKE_THREAD)
b43_do_interrupt_thread(dev);

sdio_claim_host(func);
mutex_unlock(&wl->mutex);
}

Expand Down
5 changes: 5 additions & 0 deletions trunk/drivers/net/wireless/b43/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ static void b43_sdio_interrupt_dispatcher(struct sdio_func *func)
struct b43_sdio *sdio = sdio_get_drvdata(func);
struct b43_wldev *dev = sdio->irq_handler_opaque;

if (unlikely(b43_status(dev) < B43_STAT_STARTED))
return;

sdio_release_host(func);
sdio->irq_handler(dev);
sdio_claim_host(func);
}

int b43_sdio_request_irq(struct b43_wldev *dev,
Expand Down

0 comments on commit 2fc509b

Please sign in to comment.