firewire: allow explicit flushing of iso packet completions
authorClemens Ladisch <clemens@ladisch.de>
Sun, 18 Mar 2012 18:06:39 +0000 (19:06 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 18 Mar 2012 21:15:39 +0000 (22:15 +0100)
commitd1bbd20972936b9b178fda3eb1ec417cb27fdc01
tree5d2e29adbc6f0e8ad0dd07b7624e2ad07181303e
parent18d627113b830cda80792e96b28341bcd41cf40c
firewire: allow explicit flushing of iso packet completions

Extend the kernel and userspace APIs to allow reporting all currently
completed isochronous packets, even if the next interrupt packet has not
yet been reached.  This is required to determine the status of the
packets at the end of a paused or stopped stream, and useful for more
precise synchronization of audio streams.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/core-card.c
drivers/firewire/core-cdev.c
drivers/firewire/core-iso.c
drivers/firewire/core.h
drivers/firewire/ohci.c
include/linux/firewire-cdev.h
include/linux/firewire.h