commit | 8a8c47364eef8595e05b5bf53352aa6f16784356 | [log] [tgz] |
---|---|---|
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | Mon Apr 09 21:40:33 2012 +0200 |
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | Tue Apr 17 22:27:37 2012 +0200 |
tree | 6e033f3c8698111e0ad662907978409fc418cb2e | |
parent | d713dfa708e14352cfb71342cf985d08fe14be95 [diff] |
firewire: ohci: omit spinlock IRQ flags where possible bus_reset_work() is only called from workqueue thread context. ohci_set_config_rom() and ohci_allocate_iso_context() perform GFP_KERNEL memory allocations, therefore they must be called with interrupts enabled. Hence these functions may disable and enable local IRQs without having to track IRQ state. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>