diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2010-04-12 10:35:44 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2010-04-19 19:58:32 +0200 |
commit | e1393667be574807a13bfaf1bb471f5fd1a5287b (patch) | |
tree | 5f2084f1a5099062cb27e74765ec3cd8a69c3489 /security/tomoyo | |
parent | 2608203daf5f87311c6e5d36e5de5efcb14aab24 (diff) | |
download | linux-e1393667be574807a13bfaf1bb471f5fd1a5287b.tar.bz2 |
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 'security/tomoyo')
0 files changed, 0 insertions, 0 deletions