]> 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)
commit7c396ae240e26837aa4b5ef85e6dd450cd08bd79
treea70a65bf5531642f376c9f542ad7d0ec6ec3e29c
parentfc22561f93d09dac7d09be53fdd1fcef50379456
firewire: fix libdc1394/FlyCap2 iso event regression

Commit 5ff55fe9e98d (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