Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2245291imj; Mon, 18 Feb 2019 02:35:33 -0800 (PST) X-Google-Smtp-Source: AHgI3IZW6tP3UKQKOZi42JlWVAneT/TbmRb7Rebw/ECgfhI4vzhQi0IHZmGgYfYtHFWM5q7z1XNc X-Received: by 2002:a62:f201:: with SMTP id m1mr11879550pfh.97.1550486133154; Mon, 18 Feb 2019 02:35:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550486133; cv=none; d=google.com; s=arc-20160816; b=i9TYSHCOwGh9XHpd/7fd/tK1rqDWfssJF/Alh/Sl1aThod1DpQen0ovVbq7MboCU3u TIPaIjrk6k9inukkLaQUNAqs2Ga6eNvMXbn0X9jlOdwD5ht4/h6mBPYfz0FBUJEujdLH 2bpPDgoa8Bng3qysBxV9yREB36/H21JZJbITuPUDOFaQ5L85oOI6usXD9uPfVq9j4elL aqVoJHdD6p0UFDRhld7exYglcdxoHM+nw3INoe7nS7TtO+QfXgpFN1s+7KnBU78Ciog4 lc0dbzxpvD8Ukky43TDv1knnARv9sT66ErmqmZdUZGV/3Rvs60G17wbq68HG1Dz7gBJm M62A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=clRvdp6PrSj24+1PCYqf41s5LAn4fKhQ52Ig3ER6QTE=; b=IIE9qsXyVe47xb34jHyayF1McMbA3Uz4AMLyuTj17WvEXFGL8iGZZFd4PXpgeyl0LX E/+x976ToKeFNNqfpRFo3GQuaDWb3FASSeKlOKUgooazg+kh9MOgXd6mdQy3nZEHpC+l C17L2brtLGNakp3xO23a7oT5FaqmZ82uTSd/ZFIPxKaonRz1OPQ2ZFNQNW96yfgw/JKL Iu09nMQzNIaNCCqJNmhLWwaZBIk1xFPYWZyLUwQV9/h9DDTQMSpoy/pssiFv6x6nzFFW E7MP/6lKOzfQ8OPT0beelfJSzhpdYk+YGGbgJZxOCEL5EoYsDdzveleFaxJmqPkJwIb3 NoTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s79si12994177pfi.2.2019.02.18.02.35.17; Mon, 18 Feb 2019 02:35:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729994AbfBRKeB (ORCPT + 99 others); Mon, 18 Feb 2019 05:34:01 -0500 Received: from smtp1.de.adit-jv.com ([93.241.18.167]:36233 "EHLO smtp1.de.adit-jv.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729413AbfBRKeA (ORCPT ); Mon, 18 Feb 2019 05:34:00 -0500 X-Greylist: delayed 411 seconds by postgrey-1.27 at vger.kernel.org; Mon, 18 Feb 2019 05:33:59 EST Received: from localhost (smtp1.de.adit-jv.com [127.0.0.1]) by smtp1.de.adit-jv.com (Postfix) with ESMTP id F2A2B3C00C6; Mon, 18 Feb 2019 11:27:06 +0100 (CET) Received: from smtp1.de.adit-jv.com ([127.0.0.1]) by localhost (smtp1.de.adit-jv.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PvFfovczOiIR; Mon, 18 Feb 2019 11:27:00 +0100 (CET) Received: from HI2EXCH01.adit-jv.com (hi2exch01.adit-jv.com [10.72.92.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by smtp1.de.adit-jv.com (Postfix) with ESMTPS id F15533C00C2; Mon, 18 Feb 2019 11:26:59 +0100 (CET) Received: from vmlxhi-095.adit-jv.com (10.72.93.87) by HI2EXCH01.adit-jv.com (10.72.92.24) with Microsoft SMTP Server (TLS) id 14.3.435.0; Mon, 18 Feb 2019 11:26:59 +0100 From: Spyridon Papageorgiou To: CC: , , , , Subject: [PATCH] usb: host: xhci-rcar: Add XHCI_TRUST_TX_LENGTH quirk Date: Mon, 18 Feb 2019 11:26:34 +0100 Message-ID: <20190218102633.11738-1-spapageorgiou@de.adit-jv.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.72.93.87] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yasushi Asano When plugging BUFFALO LUA4-U3-AGT USB3.0 to Gigabit Ethernet LAN Adapter, warning messages filled up dmesg. [ 101.098287] xhci-hcd ee000000.usb: WARN Successful completion on short TX for slot 1 ep 4: needs XHCI_TRUST_TX_LENGTH quirk? [ 101.117463] xhci-hcd ee000000.usb: WARN Successful completion on short TX for slot 1 ep 4: needs XHCI_TRUST_TX_LENGTH quirk? [ 101.136513] xhci-hcd ee000000.usb: WARN Successful completion on short TX for slot 1 ep 4: needs XHCI_TRUST_TX_LENGTH quirk? Adding the XHCI_TRUST_TX_LENGTH quirk resolves the issue. Signed-off-by: Yasushi Asano Signed-off-by: Spyridon Papageorgiou --- drivers/usb/host/xhci-rcar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/xhci-rcar.c b/drivers/usb/host/xhci-rcar.c index a6e463715779..671bce18782c 100644 --- a/drivers/usb/host/xhci-rcar.c +++ b/drivers/usb/host/xhci-rcar.c @@ -246,6 +246,7 @@ int xhci_rcar_init_quirk(struct usb_hcd *hcd) if (!xhci_rcar_wait_for_pll_active(hcd)) return -ETIMEDOUT; + xhci->quirks |= XHCI_TRUST_TX_LENGTH; return xhci_rcar_download_firmware(hcd); } -- 2.20.1