diff options
author | Sebastian Siewior <sebastian@breakpoint.cc> | 2008-07-17 14:09:29 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-13 20:32:55 -0400 |
commit | 7839b5162d7d6c100f70a036be1e1f2b072857bc (patch) | |
tree | bd86bdb8152c2724b01ee92790b4230e2684cf73 /drivers/usb/host/isp1760-hcd.h | |
parent | 3f02a957d5eb0eeb01207a799086f2b347077f71 (diff) |
usb: isp1760: don't be noisy about short packets.
According to Alan Stern, short packets are quite normal under
certain circumstances. This printk was triggered by usb to
serial converters on every packet and some usb sticks triggered
a few of those while plugging the stick.
This printks are now hidden unless USB debug mode is activated.
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/isp1760-hcd.h')
-rw-r--r-- | drivers/usb/host/isp1760-hcd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/isp1760-hcd.h b/drivers/usb/host/isp1760-hcd.h index 3c61cd51cbb8..4377277667d9 100644 --- a/drivers/usb/host/isp1760-hcd.h +++ b/drivers/usb/host/isp1760-hcd.h | |||
@@ -121,6 +121,9 @@ struct inter_packet_info { | |||
121 | typedef void (packet_enqueue)(struct usb_hcd *hcd, struct isp1760_qh *qh, | 121 | typedef void (packet_enqueue)(struct usb_hcd *hcd, struct isp1760_qh *qh, |
122 | struct isp1760_qtd *qtd); | 122 | struct isp1760_qtd *qtd); |
123 | 123 | ||
124 | #define isp1760_dbg(priv, fmt, args...) \ | ||
125 | dev_dbg(priv_to_hcd(priv)->self.controller, fmt, ##args) | ||
126 | |||
124 | #define isp1760_info(priv, fmt, args...) \ | 127 | #define isp1760_info(priv, fmt, args...) \ |
125 | dev_info(priv_to_hcd(priv)->self.controller, fmt, ##args) | 128 | dev_info(priv_to_hcd(priv)->self.controller, fmt, ##args) |
126 | 129 | ||