diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2011-06-22 21:05:08 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2011-07-09 17:12:08 +0200 |
commit | 215fa444c2a6d571f1f915cf3dc7a8b01cc51a0a (patch) | |
tree | 9279ad6fd8bf755cb059ab9d89dd061ac2147f93 /block | |
parent | b14c369d87d7fbf120ad21919d34a8f1290290f1 (diff) | |
download | op-kernel-dev-215fa444c2a6d571f1f915cf3dc7a8b01cc51a0a.zip op-kernel-dev-215fa444c2a6d571f1f915cf3dc7a8b01cc51a0a.tar.gz |
firewire: ohci: fix PHY reg access after card ejection
Detect and handle ejection of FireWire CardBus cards in PHY register
accesses:
- The last attempt of firewire-core to reset the bus during shutdown
caused a spurious "firewire_ohci: failed to write phy reg" error
message in the log. Skip this message as well as the prior retry
loop that needlessly took 100 milliseconds.
- In the unlikely case that a PHY register was read right after card
ejection, a bogus value was obtained and possibly acted upon.
Instead, fail the read attempt.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions