diff options
author | 2010-04-12 10:35:44 +0200 | |
---|---|---|
committer | 2010-04-19 19:58:32 +0200 | |
commit | e1393667be574807a13bfaf1bb471f5fd1a5287b (patch) | |
tree | 5f2084f1a5099062cb27e74765ec3cd8a69c3489 /drivers/net/wireless/hostap/hostap_ioctl.c | |
parent | firewire: ohci: prevent aliasing of locally handled register addresses (diff) | |
download | linux-rng-e1393667be574807a13bfaf1bb471f5fd1a5287b.tar.xz linux-rng-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 'drivers/net/wireless/hostap/hostap_ioctl.c')
0 files changed, 0 insertions, 0 deletions