From: Stefan Richter Date: Wed, 22 Jun 2011 19:05:08 +0000 (+0200) Subject: firewire: ohci: fix PHY reg access after card ejection X-Git-Tag: v3.1-rc1~315^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=215fa444c2a6d571f1f915cf3dc7a8b01cc51a0a;p=pandora-kernel.git 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 --- Reading git-diff-tree failed