From patchwork Sun Nov 25 16:57:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Michael_Niew=C3=B6hner?= X-Patchwork-Id: 10696915 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0467E15A8 for ; Sun, 25 Nov 2018 17:12:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DDBA729AF5 for ; Sun, 25 Nov 2018 17:12:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CE8F329AF9; Sun, 25 Nov 2018 17:12:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=2.0 tests=BAYES_00,DKIM_ADSP_ALL, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 18E9C29AF5 for ; Sun, 25 Nov 2018 17:12:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726356AbeKZEEV convert rfc822-to-8bit (ORCPT ); Sun, 25 Nov 2018 23:04:21 -0500 Received: from sender-of-o53.zoho.com ([135.84.80.218]:21703 "EHLO sender-of-o53.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726317AbeKZEEV (ORCPT ); Sun, 25 Nov 2018 23:04:21 -0500 X-Greylist: delayed 907 seconds by postgrey-1.27 at vger.kernel.org; Sun, 25 Nov 2018 23:04:20 EST 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 Date: Sun, 25 Nov 2018 17:57:33 +0100 Mime-Version: 1.0 X-Mailer: Evolution 3.28.5 X-ZohoMailClient: External Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 },