firewire: fw-ohci: CycleTooLong interrupt management
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 22 Dec 2007 21:14:52 +0000 (22:14 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 30 Jan 2008 21:22:24 +0000 (22:22 +0100)
commitbb9f2206b60ace29e49a057fbd9be86d79d86200
tree588dcd6a1b8ae1c3fecbf2d6c210c7f7d8bfc820
parent478b233eda81bfe41307512b8336fd688c6553e0
firewire: fw-ohci: CycleTooLong interrupt management

The firewire-ohci driver so far lacked the ability to resume cycle
master duty after that condition happened, as added to ohci1394 in Linux
2.6.18 by commit 57fdb58fa5a140bdd52cf4c4ffc30df73676f0a5.  This ports
this patch to fw-ohci.

The "cycle too long" condition has been seen in practice
  - with IIDC cameras if a mode with packets too large for a speed is
    chosen,
  - sporadically when capturing DV on a VIA VT6306 card with ohci1394/
    ieee1394/ raw1394/ dvgrab 2.
    https://bugzilla.redhat.com/show_bug.cgi?id=415841#c7
(This does not fix Fedora bug 415841.)

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-ohci.c