Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2042474imm; Mon, 16 Jul 2018 00:44:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe1ghnEuK0Cr3AQJLx+YBU5sZjLoAbXur3G9seMSU9fWveo4AcPt5Jfg4gorkTtkZlMXbTY X-Received: by 2002:a17:902:9a95:: with SMTP id w21-v6mr15716040plp.168.1531727091107; Mon, 16 Jul 2018 00:44:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531727091; cv=none; d=google.com; s=arc-20160816; b=Li+InscbWyOete3dNUYmi5UTmgkSlyt2VdLEsU3VA/x4jhqOPkhoL2rFyfS6i2qwAo ZkkXtav6mSbDFgi9yYjJigiYrtyvZ+VRetIc6h4P9jBOClhyNyxXFDP3eGjCYQbma/Zz JIqUdjVqX8A/7eLOS5IeBpPILNELQ/Hi+BIOWJe17we0zyi7YtLWvYf32z7SN0b5l9VC zBnfRFNAfVcRLUpfCnituljvV+4MHpGx/GnygJzq9ummvzlxYPWCWCNBZ99DjTQdSPOS MDJ57XbNlZieAW2YtrVqUnwD54UnZ53GrvsXaV+vBi53WrtxjTI5N8kxEceoVprRlXfi ZySg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=/fqPsaYa+FCm/DVFW+Rib5NYA66zRoT7rM2YSXArldM=; b=v9db4L58l+TSnIu7SPTLRsxS+AwFZCyArvgWkx1hd6olDOtcM+gkCoHa/0V1cv23Q8 mUOfixASDt4IPunHuchrtKBJ+jq79q+60EmfJLzbu9waoiIypQe9+rf+NEsioJqhmW9n 8JIQkk5QRdVJjx2AXFcfIAJ3vOxY8KhBST5SHV9m7I3t/mQmpWWv45pSAcRl95Zm8g59 szBBMpkbKGJ5e3iWIQTR0vj+imkgsyVI2VNBTV5RrE9e8AZn42eCeBun51z3qG2xb47R cCja0hbA53Ajio/3nsy1YwF2LTWN+CK6JWRy2wxJ7yma6S/9eYOftPupCt2faLgv0woU oiUg== 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 u26-v6si28678260pge.590.2018.07.16.00.44.36; Mon, 16 Jul 2018 00:44:51 -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 S2389221AbeGPIKC (ORCPT + 99 others); Mon, 16 Jul 2018 04:10:02 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:48098 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388375AbeGPIKB (ORCPT ); Mon, 16 Jul 2018 04:10:01 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 1EC47CA1; Mon, 16 Jul 2018 07:43:58 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nico Sneck Subject: [PATCH 4.4 10/43] usb: quirks: add delay quirks for Corsair Strafe Date: Mon, 16 Jul 2018 09:36:15 +0200 Message-Id: <20180716073512.906594689@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180716073511.796555857@linuxfoundation.org> References: <20180716073511.796555857@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Nico Sneck commit bba57eddadda936c94b5dccf73787cb9e159d0a5 upstream. Corsair Strafe appears to suffer from the same issues as the Corsair Strafe RGB. Apply the same quirks (control message delay and init delay) that the RGB version has to 1b1c:1b15. With these quirks in place the keyboard works correctly upon booting the system, and no longer requires reattaching the device. Signed-off-by: Nico Sneck Cc: stable Signed-off-by: Greg Kroah-Hartman --- drivers/usb/core/quirks.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -231,6 +231,10 @@ static const struct usb_device_id usb_qu /* Corsair K70 RGB */ { USB_DEVICE(0x1b1c, 0x1b13), .driver_info = USB_QUIRK_DELAY_INIT }, + /* Corsair Strafe */ + { USB_DEVICE(0x1b1c, 0x1b15), .driver_info = USB_QUIRK_DELAY_INIT | + USB_QUIRK_DELAY_CTRL_MSG }, + /* Corsair Strafe RGB */ { USB_DEVICE(0x1b1c, 0x1b20), .driver_info = USB_QUIRK_DELAY_INIT | USB_QUIRK_DELAY_CTRL_MSG },