]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] USB: turn down some debugging messages in uhci-hcd.
authorGreg Kroah-Hartman <greg@kroah.com>
Mon, 30 Jun 2003 10:16:53 +0000 (03:16 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 30 Jun 2003 10:16:53 +0000 (03:16 -0700)
drivers/usb/host/uhci-hcd.c

index c5efae80777f67677e2ffc3d9f425dad695a16f6..17f98168bf014f6cdd12fb060c38acb34be98b72 100644 (file)
@@ -1208,6 +1208,13 @@ td_error:
                                uhci_packetout(td_token(td)));
 
 err:
+       /* 
+        * Enable this chunk of code if you want to see some more debugging.
+        * But be careful, it has the tendancy to starve out khubd and prevent
+        * disconnects from happening successfully if you have a slow debug
+        * log interface (like a serial console.
+        */
+#if 0
        if ((debug == 1 && ret != -EPIPE) || debug > 1) {
                /* Some debugging code */
                dbg("uhci_result_common() failed with status %x", status);
@@ -1219,7 +1226,7 @@ err:
                        lprintk(errbuf);
                }
        }
-
+#endif
        return ret;
 }