diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2011-10-25 07:55:30 -0400 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2011-12-22 18:52:42 -0500 |
commit | 2a9227a5eeaeb3f91e3a72ceea4fa59016ca5d20 (patch) | |
tree | d2af140e24044f8ed503d889f4a36bb42819bfc2 /drivers/usb/host/xhci-ring.c | |
parent | 051031143544ff196d94927be8f384864fbca6a4 (diff) |
xhci: Remove scary warnings about transfer issues.
Getting a short packet or a babble error is usually a recoverable error,
so stop scaring users with warnings in dmesg when xHCI debugging is turned
off.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
-rw-r--r-- | drivers/usb/host/xhci-ring.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index d030f0b2bfa2..560b7d7ff0c6 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c | |||
@@ -1643,7 +1643,6 @@ static int process_ctrl_td(struct xhci_hcd *xhci, struct xhci_td *td, | |||
1643 | } | 1643 | } |
1644 | break; | 1644 | break; |
1645 | case COMP_SHORT_TX: | 1645 | case COMP_SHORT_TX: |
1646 | xhci_warn(xhci, "WARN: short transfer on control ep\n"); | ||
1647 | if (td->urb->transfer_flags & URB_SHORT_NOT_OK) | 1646 | if (td->urb->transfer_flags & URB_SHORT_NOT_OK) |
1648 | *status = -EREMOTEIO; | 1647 | *status = -EREMOTEIO; |
1649 | else | 1648 | else |
@@ -1985,7 +1984,7 @@ static int handle_tx_event(struct xhci_hcd *xhci, | |||
1985 | xhci_dbg(xhci, "Stopped on No-op or Link TRB\n"); | 1984 | xhci_dbg(xhci, "Stopped on No-op or Link TRB\n"); |
1986 | break; | 1985 | break; |
1987 | case COMP_STALL: | 1986 | case COMP_STALL: |
1988 | xhci_warn(xhci, "WARN: Stalled endpoint\n"); | 1987 | xhci_dbg(xhci, "Stalled endpoint\n"); |
1989 | ep->ep_state |= EP_HALTED; | 1988 | ep->ep_state |= EP_HALTED; |
1990 | status = -EPIPE; | 1989 | status = -EPIPE; |
1991 | break; | 1990 | break; |
@@ -1995,11 +1994,11 @@ static int handle_tx_event(struct xhci_hcd *xhci, | |||
1995 | break; | 1994 | break; |
1996 | case COMP_SPLIT_ERR: | 1995 | case COMP_SPLIT_ERR: |
1997 | case COMP_TX_ERR: | 1996 | case COMP_TX_ERR: |
1998 | xhci_warn(xhci, "WARN: transfer error on endpoint\n"); | 1997 | xhci_dbg(xhci, "Transfer error on endpoint\n"); |
1999 | status = -EPROTO; | 1998 | status = -EPROTO; |
2000 | break; | 1999 | break; |
2001 | case COMP_BABBLE: | 2000 | case COMP_BABBLE: |
2002 | xhci_warn(xhci, "WARN: babble error on endpoint\n"); | 2001 | xhci_dbg(xhci, "Babble error on endpoint\n"); |
2003 | status = -EOVERFLOW; | 2002 | status = -EOVERFLOW; |
2004 | break; | 2003 | break; |
2005 | case COMP_DB_ERR: | 2004 | case COMP_DB_ERR: |