]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
firewire: cdev: replace some spin_lock_irqsave by spin_lock_irq
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 4 Jan 2009 15:23:29 +0000 (16:23 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 24 Mar 2009 19:56:45 +0000 (20:56 +0100)
commit3ba949868a6dc082b24cba5c3bf3f50de7391433
tree67111ee78f57bae142182a43b5193802c1183d22
parent5d3fd692a7196a9045fb606f891f5987959b65a0
firewire: cdev: replace some spin_lock_irqsave by spin_lock_irq

All of these functions are entered with IRQs enabled.
Hence the unconditional spin_unlock_irq can be used.

Function:                  Caller context:
    dequeue_event()            client process, via read(2)
    fill_bus_reset_event()     fw-device.c update worqueue job
    release_client_resource()  client process, via ioctl(2)
    fw_device_op_release()     client process, via close(2)

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-cdev.c