Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2039096imm; Mon, 16 Jul 2018 00:39:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdxQLDUORL/CcqJGHO4PjLJ6EKFTO8NiGKvo424GSlS0NzR3IdveST86bcUxXulEqO1pHe+ X-Received: by 2002:a63:e318:: with SMTP id f24-v6mr14156749pgh.175.1531726794344; Mon, 16 Jul 2018 00:39:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531726794; cv=none; d=google.com; s=arc-20160816; b=V7JW50wlhW6atiywSVbbqwr9x7CpxkT2jyy+6ltNN8zKerX2Jq4304MhVWtywmYrbN fBddy9Sl3zkG3B5EUeu8PD/xEDI+ioWJiGr7X3QBun9ylcOHbCUFq5Xf0sLqlNEc4UF6 DljLNSqDFooFEnN4y9aDkYYGY81lfBVVb4JHJ3/cX2V9cvl/nyiE35P/MKIuR9tkG/X7 j2RrCld9ssDuhbvvXypGgKmsoeA0+0ylvSSP4cyTMteatW9YIlPGT0HjUyqczhJXIq38 ksljv5+6saJLANwO50sEDiDE9HIRAPFtSW/H2oF3oqXLfRd8v95aYXnNu3zPz42KRI6A 5t6w== 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=EgDCBZ6sFtLvevOQz6kayrYPLRG41bADH+S8d89oRpQ=; b=04kokZstKthTCeRhx++2MpHyC7LVN/ir7J7IW/QhbvZDvG9o56wMlsoA45u5KLa3Id 67lj82IWEHBmcLYPQjgocF6eZHKRi92Uzpqj7JaMnoJ+cSpRN0BQemGQaC2dTsHywLvp W4Fez/v8Li2zXyp0YcM1VAPHQaFPu421kAXt3YigUHCbQkUqScDzQ3TbTKzGPNBfH/bG 0bh9gTHUu3iM6ukb4gBeSJEIPZj8jPe6+8gG0b5qnrwVeR6xAaQQspW0Tc9kyPMcJkGN 9DVGKo+SzHpmTF8WRJepLsNDRQNrv6sk81ldygaZsfucSMYkCBPIzVT438SLUR2eLvYI WlSA== 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 h8-v6si28846373pgr.379.2018.07.16.00.39.39; Mon, 16 Jul 2018 00:39:54 -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 S2387611AbeGPIEm (ORCPT + 99 others); Mon, 16 Jul 2018 04:04:42 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:46972 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729595AbeGPIEl (ORCPT ); Mon, 16 Jul 2018 04:04:41 -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 3313FC03; Mon, 16 Jul 2018 07:38:40 +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.17 29/67] usb: quirks: add delay quirks for Corsair Strafe Date: Mon, 16 Jul 2018 09:34:58 +0200 Message-Id: <20180716073447.736793795@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180716073443.294323458@linuxfoundation.org> References: <20180716073443.294323458@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.17-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 @@ -378,6 +378,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 },