summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2010-04-12 10:35:44 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2010-04-19 19:58:32 +0200
commite1393667be574807a13bfaf1bb471f5fd1a5287b (patch)
tree5f2084f1a5099062cb27e74765ec3cd8a69c3489 /include/linux
parent2608203daf5f87311c6e5d36e5de5efcb14aab24 (diff)
downloadblackbird-op-linux-e1393667be574807a13bfaf1bb471f5fd1a5287b.tar.gz
blackbird-op-linux-e1393667be574807a13bfaf1bb471f5fd1a5287b.zip
firewire: ohci: wait for local CSR lock access to finish
Add a loop to wait for the controller to finish a locally-initiated CSR lock operation. Google shows some occurrences of the "swap not done yet" message which might indicate that some OHCI controllers are not fast enough to do the lock/swap in the time needed for one PCI access. This also correctly handles the case where the lock operation did not finish, instead of silently returning an uninitialized value. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud