Re: [RFC 7/9] xHCI 1.0: Endpoint Not Enabled Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

On 05-05-2011 14:14, Andiry Xu wrote:

From: Alex He <alex.he@xxxxxxx>

This patch handles an Endpoint Not Enabled Error described in section 4.7
of the xHCI spec v1.0.

Signed-off-by: Alex He<alex.he@xxxxxxx>
Signed-off-by: Andiry Xu<andiry.xu@xxxxxxx>
---
  drivers/usb/host/xhci-ring.c |    4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index d0b8c85..85503c1 100644
--- a/drivers/usb/host/xhci-ring.c
+++ b/drivers/usb/host/xhci-ring.c
@@ -2052,6 +2052,10 @@ static int handle_tx_event(struct xhci_hcd *xhci,
  	case COMP_BUFF_OVER:
  		xhci_warn(xhci, "WARN: buffer overrun event on endpoint\n");
  		break;
+	case COMP_EBADEP:
+		xhci_warn(xhci, "WARN: rung the doorbell owned by the endpoint\
+				or the Device Slot in the Disabled state\n");

Don't break the strings that way -- it causes a lot of spaces added to the string. Break it like that:

		xhci_warn(xhci, "WARN: rung the doorbell owned by the "
				"endpoint or the Device Slot in the Disabled "
				"state\n");

WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux