mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
firewire: fix libdc1394/FlyCap2 iso event regression
Commit 18d627113b (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>
Cc: <stable@vger.kernel.org> # 3.4+
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
committed by
Stefan Richter
parent
bcabcfd2e0
commit
0699a73af3
@@ -436,6 +436,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;
|
||||
|
||||
Reference in New Issue
Block a user