Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10019
b: refs/heads/master
c: 4a9949d
h: refs/heads/master
i:
  10017: 217c2ca
  10015: a91e221
v: v3
  • Loading branch information
Andy Wingo authored and Linus Torvalds committed Oct 20, 2005
1 parent 79a651f commit 79f3bd3
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 50 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: c367c21c93ccdaf7e1e124891633d89f9ae77f54
refs/heads/master: 4a9949d7ac9e2bc51939f27b184be6e1bd99004e
6 changes: 3 additions & 3 deletions trunk/drivers/ieee1394/ohci1394.c
Original file line number Diff line number Diff line change
Expand Up @@ -2283,8 +2283,9 @@ static void ohci_schedule_iso_tasklets(struct ti_ohci *ohci,
{
struct ohci1394_iso_tasklet *t;
unsigned long mask;
unsigned long flags;

spin_lock(&ohci->iso_tasklet_list_lock);
spin_lock_irqsave(&ohci->iso_tasklet_list_lock, flags);

list_for_each_entry(t, &ohci->iso_tasklet_list, link) {
mask = 1 << t->context;
Expand All @@ -2295,8 +2296,7 @@ static void ohci_schedule_iso_tasklets(struct ti_ohci *ohci,
tasklet_schedule(&t->tasklet);
}

spin_unlock(&ohci->iso_tasklet_list_lock);

spin_unlock_irqrestore(&ohci->iso_tasklet_list_lock, flags);
}

static irqreturn_t ohci_irq_handler(int irq, void *dev_id,
Expand Down
Loading

0 comments on commit 79f3bd3

Please sign in to comment.