firewire: ohci: work around cycle timer bugs on VIA controllers
authorClemens Ladisch <clemens@ladisch.de>
Wed, 20 Jan 2010 08:58:02 +0000 (09:58 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 19 Feb 2010 19:51:10 +0000 (20:51 +0100)
commitb677532b971276f48e82578b4d829fb4382e7b41
tree5f773a4d65614872c619109595c09b8f9c93bda1
parenta67483d2be12dfc5563c09e6169bec9a88f434b0
firewire: ohci: work around cycle timer bugs on VIA controllers

VIA controllers sometimes return an inconsistent value when reading the
isochronous cycle timer register.  To work around this, read the
register multiple times and add consistency checks.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Reported-by: Pieter Palmers <pieterp@joow.be>
Reported-by: HÃ¥kan Johansson <f96hajo@chalmers.se>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/ohci.c