diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-02-05 00:02:07 +0000 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-02-11 11:06:26 -0500 |
commit | 89c8b0e6cd3859a6445398c5aa94ebd21d0e64ce (patch) | |
tree | 5aed488a12bcf2654990d715b9da314e9a8172ce /sound | |
parent | 7da998591798ea52938d8482b52ae3f854f14359 (diff) |
DM9000: Do not sleep with spinlock and IRQs held
The phy read and write routines call udelay() with the board
lock held, and with the posibility of IRQs being disabled. Since
these delays can be up to 500usec, and are only required as we
have to save the chip's address register.
To improve the behaviour, hold the lock whilst we are writing
and then restore the state before the delay and then repeat
the process once the delay has happened.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions