]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: fix libdc1394/FlyCap2 iso event regression
authorClemens Ladisch <clemens@ladisch.de>
Mon, 22 Jul 2013 19:32:09 +0000 (21:32 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 27 Jul 2013 18:24:36 +0000 (20:24 +0200)
commit25d870bacb4418f7f552202d58399aa4477da32a
treea70a65bf5531642f376c9f542ad7d0ec6ec3e29c
parent85ea4799cba07d1e21a66f68c2159609fd6123f1
firewire: fix libdc1394/FlyCap2 iso event regression

Commit 36f32027044e (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>
drivers/firewire/core-cdev.c
drivers/firewire/ohci.c
include/linux/firewire.h
include/uapi/linux/firewire-cdev.h