aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/core-cdev.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2011-07-03 17:39:26 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2011-07-09 17:12:09 +0200
commit9f426173e54a4f0882f9516c226f3165a3bd5474 (patch)
treea34fc50c7f562eea8726b60c41744567396aa692 /drivers/firewire/core-cdev.c
parentfirewire: ohci: fix PHY reg access after card ejection (diff)
downloadlinux-dev-9f426173e54a4f0882f9516c226f3165a3bd5474.tar.xz
linux-dev-9f426173e54a4f0882f9516c226f3165a3bd5474.zip
firewire: ohci: skip soft reset retries after card ejection
The software reset in firewire-ohci's pci_remove does not have a great prospect of success if the card was already physically removed at this point. So let's skip the 500 ms that were spent in retries here. Also, replace a defined constant by its open-coded value. This is not a constant from a specification but an arbitrarily chosen retry limit. It was only used in this single place. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/core-cdev.c')
0 files changed, 0 insertions, 0 deletions