xHCI 1.0: Max Exit Latency Too Large Error
[firefly-linux-kernel-4.4.55.git] / drivers / usb / host / xhci.c
index 3abf33223b1c3057ce862ee7587ee4ca2fcde8ec..013e113b818aaffd1acc0c30d4f26a3ceaa073f5 100644 (file)
@@ -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;