summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2013-07-22 21:32:09 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-04 16:50:38 +0800
commitf8c974f6fbdef40d37f957292f3238552a8d3598 (patch)
tree60392c81dcd63784f90d5e50952cce49a2963b94 /include/linux
parent6d2c6593cf6592707c68e95f43982adbe573c6ac (diff)
downloadlinux-stable-f8c974f6fbdef40d37f957292f3238552a8d3598.tar.gz
linux-stable-f8c974f6fbdef40d37f957292f3238552a8d3598.tar.bz2
linux-stable-f8c974f6fbdef40d37f957292f3238552a8d3598.zip
firewire: fix libdc1394/FlyCap2 iso event regression
commit 0699a73af3811b66b1ab5650575acee5eea841ab upstream. Commit 18d627113b83 (firewire: prevent dropping of completed iso packet header data) was intended to be an obvious bug fix, but libdc1394 and FlyCap2 depend on the old behaviour by ignoring all returned information and thus not noticing that not all packets have been received yet. The result was that the video frame buffers would be saved before they contained the correct data. Reintroduce the old behaviour for old clients. Tested-by: Stepan Salenikovich <stepan.salenikovich@gmail.com> Tested-by: Josep Bosch <jep250@gmail.com> Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/firewire.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/firewire.h b/include/linux/firewire.h
index 191501afd7fb..217e4b42b7c8 100644
--- a/include/linux/firewire.h
+++ b/include/linux/firewire.h
@@ -434,6 +434,7 @@ struct fw_iso_context {
int type;
int channel;
int speed;
+ bool drop_overflow_headers;
size_t header_size;
union {
fw_iso_callback_t sc;