summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci.c
diff options
context:
space:
mode:
authorAlex He <alex.he@amd.com>2011-05-05 18:14:12 +0800
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2011-05-09 09:34:48 -0700
commit1bb73a88839d473f4f2c529ecf453029439aa837 (patch)
tree103180f7a622e367d8b83045b8db4b10a3659397 /drivers/usb/host/xhci.c
parent700b41736c07f357df0a1b8f342fd237f365b58d (diff)
downloadop-kernel-dev-1bb73a88839d473f4f2c529ecf453029439aa837.zip
op-kernel-dev-1bb73a88839d473f4f2c529ecf453029439aa837.tar.gz
xHCI 1.0: Max Exit Latency Too Large Error
This is a new TRB Completion Code of the xHCI spec 1.0. Asserted by the Evalute Context Command if the proposed Max Exit Latency would not allow the periodic endpoints of the Device Slot to be scheduled. Signed-off-by: Alex He <alex.he@amd.com> Signed-off-by: Andiry Xu <andiry.xu@amd.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/usb/host/xhci.c')
-rw-r--r--drivers/usb/host/xhci.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 3abf332..013e113 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -1560,6 +1560,11 @@ static int xhci_evaluate_context_result(struct xhci_hcd *xhci,
xhci_dbg_ctx(xhci, virt_dev->out_ctx, 1);
ret = -EINVAL;
break;
+ case COMP_MEL_ERR:
+ /* Max Exit Latency too large error */
+ dev_warn(&udev->dev, "WARN: Max Exit Latency too large\n");
+ ret = -EINVAL;
+ break;
case COMP_SUCCESS:
dev_dbg(&udev->dev, "Successful evaluate context command\n");
ret = 0;
OpenPOWER on IntegriCloud