diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2005-11-30 17:16:19 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-04 16:51:41 -0500 |
commit | 687f5f3428157bea4940dd967fd7b4e59c1b13b4 (patch) | |
tree | 1f3051906989d2e80df0985c1a48f41c6c283f64 /drivers/usb/host/uhci-hcd.c | |
parent | fa3465689f93331834a831bbe98e3863701e1068 (diff) |
[PATCH] USB: UHCI: edit some comments
This patch (as615b) edits a large number of comments in the uhci-hcd code,
mainly removing excess apostrophes.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/uhci-hcd.c')
-rw-r--r-- | drivers/usb/host/uhci-hcd.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c index 120ca64fe3f7..dfe121d35887 100644 --- a/drivers/usb/host/uhci-hcd.c +++ b/drivers/usb/host/uhci-hcd.c | |||
@@ -62,10 +62,10 @@ Alan Stern" | |||
62 | 62 | ||
63 | /* | 63 | /* |
64 | * debug = 0, no debugging messages | 64 | * debug = 0, no debugging messages |
65 | * debug = 1, dump failed URB's except for stalls | 65 | * debug = 1, dump failed URBs except for stalls |
66 | * debug = 2, dump all failed URB's (including stalls) | 66 | * debug = 2, dump all failed URBs (including stalls) |
67 | * show all queues in /debug/uhci/[pci_addr] | 67 | * show all queues in /debug/uhci/[pci_addr] |
68 | * debug = 3, show all TD's in URB's when dumping | 68 | * debug = 3, show all TDs in URBs when dumping |
69 | */ | 69 | */ |
70 | #ifdef DEBUG | 70 | #ifdef DEBUG |
71 | static int debug = 1; | 71 | static int debug = 1; |
@@ -88,7 +88,7 @@ static void uhci_get_current_frame_number(struct uhci_hcd *uhci); | |||
88 | #define FSBR_DELAY msecs_to_jiffies(50) | 88 | #define FSBR_DELAY msecs_to_jiffies(50) |
89 | 89 | ||
90 | /* When we timeout an idle transfer for FSBR, we'll switch it over to */ | 90 | /* When we timeout an idle transfer for FSBR, we'll switch it over to */ |
91 | /* depth first traversal. We'll do it in groups of this number of TD's */ | 91 | /* depth first traversal. We'll do it in groups of this number of TDs */ |
92 | /* to make sure it doesn't hog all of the bandwidth */ | 92 | /* to make sure it doesn't hog all of the bandwidth */ |
93 | #define DEPTH_INTERVAL 5 | 93 | #define DEPTH_INTERVAL 5 |
94 | 94 | ||
@@ -728,8 +728,9 @@ static int uhci_resume(struct usb_hcd *hcd) | |||
728 | 728 | ||
729 | dev_dbg(uhci_dev(uhci), "%s\n", __FUNCTION__); | 729 | dev_dbg(uhci_dev(uhci), "%s\n", __FUNCTION__); |
730 | 730 | ||
731 | /* We aren't in D3 state anymore, we do that even if dead as I | 731 | /* Since we aren't in D3 any more, it's safe to set this flag |
732 | * really don't want to keep a stale HCD_FLAG_HW_ACCESSIBLE=0 | 732 | * even if the controller was dead. It might not even be dead |
733 | * any more, if the firmware or quirks code has reset it. | ||
733 | */ | 734 | */ |
734 | set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags); | 735 | set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags); |
735 | mb(); | 736 | mb(); |
@@ -879,7 +880,7 @@ static int __init uhci_hcd_init(void) | |||
879 | 880 | ||
880 | init_failed: | 881 | init_failed: |
881 | if (kmem_cache_destroy(uhci_up_cachep)) | 882 | if (kmem_cache_destroy(uhci_up_cachep)) |
882 | warn("not all urb_priv's were freed!"); | 883 | warn("not all urb_privs were freed!"); |
883 | 884 | ||
884 | up_failed: | 885 | up_failed: |
885 | debugfs_remove(uhci_debugfs_root); | 886 | debugfs_remove(uhci_debugfs_root); |
@@ -897,7 +898,7 @@ static void __exit uhci_hcd_cleanup(void) | |||
897 | pci_unregister_driver(&uhci_pci_driver); | 898 | pci_unregister_driver(&uhci_pci_driver); |
898 | 899 | ||
899 | if (kmem_cache_destroy(uhci_up_cachep)) | 900 | if (kmem_cache_destroy(uhci_up_cachep)) |
900 | warn("not all urb_priv's were freed!"); | 901 | warn("not all urb_privs were freed!"); |
901 | 902 | ||
902 | debugfs_remove(uhci_debugfs_root); | 903 | debugfs_remove(uhci_debugfs_root); |
903 | kfree(errbuf); | 904 | kfree(errbuf); |