Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1198631ybn; Wed, 2 Oct 2019 12:18:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4dnxqtszygKCqq9jtTO1fKJfSiFRerPloJyKwoJ/MowgSRcO/UnDGQT7a4Y2xy9O8PTkr X-Received: by 2002:a50:d5c5:: with SMTP id g5mr5639239edj.57.1570043911799; Wed, 02 Oct 2019 12:18:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570043911; cv=none; d=google.com; s=arc-20160816; b=Sp8vcUoWLVxsfBftZV/RIwRxml6BElBkuvcAOeo7U1TtYzjTamSN5oDar9UlpEeXuS ooGNQ+604iufp1mOfeZkom7NJ9i9sdux4HAU46cQrjjJto9OBD4dedwHwtF+J4m9JtFU MKN8OEtaShIgYExmf/hq/oxfB9H2VLYqqI09OjmTwrNtP3B3zjPi00jtMm9S+qs+1dzR 2p/d9JCDo4G4FVbVohSmfzEvFGkzeGnE2S4NkKQvllrfjKPVqgXvn0TKNqAFmPWrlS+Z rhHDQBEX5/Ii+OOzJdi7D12V1A5gU6TJ8MrrhpcNHmXX0RL5YTtjibuDqOzkv8E2tRfS eVAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=IfC3Spx9gZG8VtjW/uNxFXieAlh1c4T2nEKY0YN/NZY=; b=MNSOnX+knLQkzmL7CshJYLXNMZfLGUrSj+6o9bT5Y0nSGKtyH1JcL8NeZ1eTf/PxnO /xrhrywAs+KTK/OQc5GK2Py+tNSWwOnJhhq4uMI4qKfyE0nD3EfpajlErV0HFVHXdz4j /rKTxc4OwPluWcQgFPUY1sUL3N5FfXvmF/8v3dryY6Ahq7ktVlTiwuvRtpNg4OQtRj2U jn2dfbLb1ZiElRMfNt6nqhcRZgdxF0LukurcGWUuy0qW2nAP948A9+3z5Gc2Y/LKkd72 rjRt5+PPb3OGPaA/gatqGbFsMJDE+g0sH9E4MfyUrANZA9b8xev9OBwUf1nld2k6Mcjr XolA== 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 rh23si20164ejb.75.2019.10.02.12.18.07; Wed, 02 Oct 2019 12:18:31 -0700 (PDT) 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 S1729042AbfJBTII (ORCPT + 99 others); Wed, 2 Oct 2019 15:08:08 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:35212 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728918AbfJBTIH (ORCPT ); Wed, 2 Oct 2019 15:08:07 -0400 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iFjyn-00035C-8t; Wed, 02 Oct 2019 20:08:05 +0100 Received: from ben by deadeye with local (Exim 4.92.1) (envelope-from ) id 1iFjym-0003aL-Vi; Wed, 02 Oct 2019 20:08:04 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, Denis Kirjanov , "Greg Kroah-Hartman" , "Maximilian Luz" Date: Wed, 02 Oct 2019 20:06:51 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) X-Patchwork-Hint: ignore Subject: [PATCH 3.16 07/87] USB: Add LPM quirk for Surface Dock GigE adapter In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.75-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Maximilian Luz commit ea261113385ac0a71c2838185f39e8452d54b152 upstream. Without USB_QUIRK_NO_LPM ethernet will not work and rtl8152 will complain with r8152 : Stop submitting intr, status -71 Adding the quirk resolves this. As the dock is externally powered, this should not have any drawbacks. Signed-off-by: Maximilian Luz Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/core/quirks.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -64,6 +64,9 @@ static const struct usb_device_id usb_qu /* Microsoft LifeCam-VX700 v2.0 */ { USB_DEVICE(0x045e, 0x0770), .driver_info = USB_QUIRK_RESET_RESUME }, + /* Microsoft Surface Dock Ethernet (RTL8153 GigE) */ + { USB_DEVICE(0x045e, 0x07c6), .driver_info = USB_QUIRK_NO_LPM }, + /* Cherry Stream G230 2.0 (G85-231) and 3.0 (G85-232) */ { USB_DEVICE(0x046a, 0x0023), .driver_info = USB_QUIRK_RESET_RESUME },