firewire: ohci: factor out iso completion flushing code
authorClemens Ladisch <clemens@ladisch.de>
Sun, 18 Mar 2012 18:04:43 +0000 (19:04 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 18 Mar 2012 21:15:39 +0000 (22:15 +0100)
commit910e76c607546ead218de8b11c32597d6b8fe7e4
tree8a858f98ae79a998aeeef09d7b2a142d05d201b6
parent73864012f386ca5a193f3231c9b1936e23709a94
firewire: ohci: factor out iso completion flushing code

In preparation for the following patches that add more flushing, move
the code for flushing accumulated header data into a common function.
The timestamp of the last completed packed is passed through the context
structure instead of a function parameter to allow accessing this value
later outside of the handle_i?_packet functions.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/ohci.c