diff options
author | Ben Dooks <ben-netdev@fluff.org> | 2005-07-23 12:25:18 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-18 16:59:14 -0400 |
commit | 9ef9ac51cc5fa5f5811230b5fb242536b636ff47 (patch) | |
tree | 228175f622065b3683e2c2b94468210752004804 /drivers/serial/sh-sci.c | |
parent | a4cf0761493495681d72dcc0b34efb86e94a5527 (diff) |
[PATCH] DM9000 - spinlock fixes
Fix DM9000 driver usage of spinlocks, which mainly came to light
when running a kernel with spinlock debugging. These come down to:
1) Un-initialised spin lock
2) Several cases of using spin_xxx(lock) and not spin_xxx(&lock)
3) move the locking around the phy reg for read/write to only
keep the lock when actually reading or writing to the phy.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/serial/sh-sci.c')
0 files changed, 0 insertions, 0 deletions