Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4722939imu; Sun, 25 Nov 2018 08:59:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/XkZ08F9YO+3EN68DGVET9KFSxCi8S1tewmt0HDChw6KweBKRvb9HStHUf0uNuoUs7PwGXw X-Received: by 2002:a17:902:4623:: with SMTP id o32-v6mr23935099pld.187.1543165187745; Sun, 25 Nov 2018 08:59:47 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3si58687771pgc.587.2018.11.25.08.58.46; Sun, 25 Nov 2018 08:59:47 -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; arc=fail (body hash mismatch); 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 S1726565AbeKZDtO convert rfc822-to-8bit (ORCPT + 99 others); Sun, 25 Nov 2018 22:49:14 -0500 Received: from sender-of-o53.zoho.com ([135.84.80.218]:21839 "EHLO sender-of-o53.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726098AbeKZDtO (ORCPT ); Sun, 25 Nov 2018 22:49:14 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1543165061; cv=none; d=zoho.com; s=zohoarc; b=jfeZXOWZhfy188x06IYs26fULeE8FXk2TyAVY4Cd5MYhoMrTOcLtNdKaSBvGA4zUHIeuwYT0Ug4jIO5A1vsDPe9+m5sxRZ9YvZ7rVHhQFCgum0AfvLAKfNiXSdhCIDJl3RPvk7wXierh4j4wUIHtcaLQEgQL1qNHsDb3D1O3OjE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1543165061; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=7NX2E9WRbjbCE7YQ45f2VflH8nz/0PVhz2mQ6sstecY=; b=Ry63FiTehbN3rCTaukcQ9sWgM76mv3b0cEPreH6UXtg/FVYtEotujp36zfaLsJvs+9mKYiJ3/Ysw0Hf8c5drgc7IZSpdDGw1mf3DmJiZSyNP2msWmNhrmJSdB8wfz5Co6pixTRgypyM/SKXl+lKv2p4wvt+qaz1FbP7IsuxvAS8= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=mniewoehner.de; spf=pass smtp.mailfrom=linux@mniewoehner.de; dmarc=pass header.from= header.from= Received: from z3r0 (31.187.91.78 [31.187.91.78]) by mx.zohomail.com with SMTPS id 1543165058645856.8186003044875; Sun, 25 Nov 2018 08:57:38 -0800 (PST) Message-ID: Subject: [PATCH] usb: core: quirks: add RESET_RESUME quirk for Cherry G230 Stream series From: Michael =?ISO-8859-1?Q?Niew=F6hner?= To: Greg Kroah-Hartman , linux-usb , linux-kernel Content-Type: text/plain; charset="UTF-8" Date: Sun, 25 Nov 2018 17:57:33 +0100 Mime-Version: 1.0 X-Mailer: Evolution 3.28.5 Content-Transfer-Encoding: 8BIT X-ZohoMailClient: External Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cherry G230 Stream 2.0 (G85-231) and 3.0 (G85-232) need this quirk to function correctly. This fixes a but where double pressing numlock locks up the device completely with need to replug the keyboard. Signed-off-by: Michael Niewöhner Tested-by: Michael Niewöhner --- drivers/usb/core/quirks.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c index f9ff03e6a..0690fcff0 100644 --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -209,6 +209,9 @@ static const struct usb_device_id usb_quirk_list[] = { /* Microsoft LifeCam-VX700 v2.0 */ { USB_DEVICE(0x045e, 0x0770), .driver_info = USB_QUIRK_RESET_RESUME }, + /* Cherry Stream G230 2.0 (G85-231) and 3.0 (G85-232) */ + { USB_DEVICE(0x046a, 0x0023), .driver_info = USB_QUIRK_RESET_RESUME }, + /* Logitech HD Pro Webcams C920, C920-C, C925e and C930e */ { USB_DEVICE(0x046d, 0x082d), .driver_info = USB_QUIRK_DELAY_INIT }, { USB_DEVICE(0x046d, 0x0841), .driver_info = USB_QUIRK_DELAY_INIT },