]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: cdev: shut down iso context before freeing the buffer
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 5 Jan 2009 19:28:10 +0000 (20:28 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 24 Mar 2009 19:56:46 +0000 (20:56 +0100)
commit5f507bee18a72b077952178621684676b4379021
treefbf8208d5b0314ee9b523a9edaf0b3343e4add39
parentf9a6be6f7edae3b70ce068798ea02030ba3e0396
firewire: cdev: shut down iso context before freeing the buffer

DMA must be halted before we DMA-unmap and free the DMA buffer.  Since
we cannot rely on the client to stop the context before it closes the
fd, we have to reorder fw_iso_buffer_destroy vs. fw_iso_context_destroy.

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