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)
commit36a755cfc398fc50abc74055d4478c1b067dac55
treefbf8208d5b0314ee9b523a9edaf0b3343e4add39
parent3ba949868a6dc082b24cba5c3bf3f50de7391433
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