Skip to content

Commit

Permalink
Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/ker…
Browse files Browse the repository at this point in the history
…nel/git/dvrabel/uwb

* 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/dvrabel/uwb:
  wusb: whci-hcd: always lock whc->lock with interrupts disabled
  • Loading branch information
Linus Torvalds committed Feb 17, 2009
2 parents 2f60971 + a3c1239 commit 11df586
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/host/whci/asl.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,13 @@ void scan_async_work(struct work_struct *work)
* Now that the ASL is updated, complete the removal of any
* removed qsets.
*/
spin_lock(&whc->lock);
spin_lock_irq(&whc->lock);

list_for_each_entry_safe(qset, t, &whc->async_removed_list, list_node) {
qset_remove_complete(whc, qset);
}

spin_unlock(&whc->lock);
spin_unlock_irq(&whc->lock);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions drivers/usb/host/whci/pzl.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,13 @@ void scan_periodic_work(struct work_struct *work)
* Now that the PZL is updated, complete the removal of any
* removed qsets.
*/
spin_lock(&whc->lock);
spin_lock_irq(&whc->lock);

list_for_each_entry_safe(qset, t, &whc->periodic_removed_list, list_node) {
qset_remove_complete(whc, qset);
}

spin_unlock(&whc->lock);
spin_unlock_irq(&whc->lock);
}

/**
Expand Down

0 comments on commit 11df586

Please sign in to comment.