Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp569152pxj; Thu, 20 May 2021 16:29:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxR8QsjDULSMCDjLiM2gHHSc1ILwqTbnEUpnjK7pwUSzVCUuc6dvJ+shF7Xj7+J99mbFLiy X-Received: by 2002:a17:906:7712:: with SMTP id q18mr7295796ejm.10.1621553345252; Thu, 20 May 2021 16:29:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621553345; cv=none; d=google.com; s=arc-20160816; b=guGKx55MPVSBs3jep2zkLjUNQ1dieMsPFPJq1kK1s6n/IiAQVBQ3hoWYCw0NTiAhji 6GLXmmQxq5m5XPC4wWUsvmuBFwW3TCEbjodPt4oSlBAJeAFINaeVpb0opVP3hqwZRdcN cLg2WzNkloHVPTBWQRYzz+cU8DT3SvyNsZVJzrA625U1yj48IMkbLU9wVNnKN1l3XuDN KdWHju5Itxezy10Yt2kSVOgAMbhhzmnntBQbAmIptoTlf8o4TzKU7zqhi20ynmEbqBe2 fJgSMZYags0SDcwGLYNIJ4p3CG+dCGRlNeVmwSCVfX3B/R3ijudFfpOR4egsDUX8Egz+ 5nAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=aZJKFAWiSNc1XntBj2o/0+a3Uw8pvDr5oWOgAhZA2d8=; b=HbMAzuXcZtfkHvPwYgz6IkwJhLnUu1xNaQqbyPjFCHTR+JvG8u4EdAkj514dkiP5gt HmqRo8t1CWbqSg9J3qM8o4Y7ufDkNcQbscvReeqpFwy8l0KyMqxF6ZhumF0CPVo1j/9B B6D2PiV/sgAZoLyl9noesRfwxfBZHyyH9UAYJJLXPrAQuXw4QkvbMZwo3o6pyxPOrB7p vbRg2f3byvsUBX3lv95GhOc2+kkOS8qnSOrqvRCgDz4+3GfeW7B+oCJPGNQvtacahej2 QfwUt8L2/oZqxdsNMGf+LpIvHtNBrwMxLhYEjg9osloAYnEzR6A5UUi5oB01Gg8CeHk5 oVbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FrFJnc++; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a15si1712911edr.48.2021.05.20.16.28.41; Thu, 20 May 2021 16:29:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FrFJnc++; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240293AbhETLa0 (ORCPT + 99 others); Thu, 20 May 2021 07:30:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:56748 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240419AbhETLKK (ORCPT ); Thu, 20 May 2021 07:10:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8148861D3A; Thu, 20 May 2021 10:07:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621505221; bh=PWhh0ZcWeQn8bVv0bIWSaizyESpeNWTFdsOuegL4smM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FrFJnc++/Gj5bDtqpYmmNdZciH7eS04kKrFtZlWlR1M5ktRDeHuD4UxnGZB+K/NTV FWD4SVZXGjhqyr8F4Jku2umfRyuvtcyC9tBcB4Nqo9Ig4ZDRxpSH6ezmRV3XCNbtnN JBHUL0nc3HYRfeZ1o26UG/tt51abLCPqOPAJsz04= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kai-Heng Feng Subject: [PATCH 4.4 005/190] USB: Add LPM quirk for Lenovo ThinkPad USB-C Dock Gen2 Ethernet Date: Thu, 20 May 2021 11:21:09 +0200 Message-Id: <20210520092102.345698496@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520092102.149300807@linuxfoundation.org> References: <20210520092102.149300807@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kai-Heng Feng commit 8f23fe35ff1e5491b4d279323a8209a31f03ae65 upstream. This is another branded 8153 device that doesn't work well with LPM enabled: [ 400.597506] r8152 5-1.1:1.0 enx482ae3a2a6f0: Tx status -71 So disable LPM to resolve the issue. Signed-off-by: Kai-Heng Feng BugLink: https://bugs.launchpad.net/bugs/1922651 Link: https://lore.kernel.org/r/20210412135455.791971-1-kai.heng.feng@canonical.com Cc: stable Signed-off-by: Greg Kroah-Hartman --- drivers/usb/core/quirks.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -264,6 +264,9 @@ static const struct usb_device_id usb_qu { USB_DEVICE(0x1532, 0x0116), .driver_info = USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL }, + /* Lenovo ThinkPad USB-C Dock Gen2 Ethernet (RTL8153 GigE) */ + { USB_DEVICE(0x17ef, 0xa387), .driver_info = USB_QUIRK_NO_LPM }, + /* BUILDWIN Photo Frame */ { USB_DEVICE(0x1908, 0x1315), .driver_info = USB_QUIRK_HONOR_BNUMINTERFACES },