Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2042222imm; Mon, 16 Jul 2018 00:44:28 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfWc3IZ483ugiex6GUMf6ItVjKgkhKqLdfa1GuHrlIWgvFrJ0oAtX86rui4QYBAxPjvbKnD X-Received: by 2002:a17:902:7c89:: with SMTP id y9-v6mr2368169pll.187.1531727068446; Mon, 16 Jul 2018 00:44:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531727068; cv=none; d=google.com; s=arc-20160816; b=QOMQPuPYtDDI1z8ru+QLk+NeTUYbDQ70FpJtaXotbwZrM+Uel3OSd7WIAcSAIZcP5G Rpk2jBe62+XhcDzdMLps9vzHF3LEHCPdAYoaAYrYdZPuLR+CrCM+bLjGb5bZE+qwrsLI uWMCGEEnILX8VkhhUf2kpmtHr0KUZK9DgsqFzCQZgmSn9j8RHSKJq72+v3OvcqcWu15j pS8alhi6wlgBmrW5gE7BRwXQC9Ouuo7WOKVfKyzB+Kl0F3WtL70b5UPxAfnRB5hp2fAJ aXE26dChyNztKUQy3moqzU0uTUKlG9fVh+ZdnsUCNXHIJkd6w+feXb1cu4mgVidbEGK/ MVlw== 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=5BK+IwdLKeoNfRngHEM33KACeyMRoPTx2jl50ZhcdiI=; b=eBf9ALhOzs2yJ3axJ6JU+UdTSashERNvSH4X36nECz01HYonAlLd93edrh5sq5k+jX CXMWbni+8SqGLhgoiUFOca6KntHjRM00XO7iJgDvCQ6DM2ETYMujptDG1bCYHquOxd+F WXWJ0XUxLyoFrltfntnsWHi3BkdnNQ4z8Bl8KIP2/BOds+gsIAHMip7NlSrBPcH6b56Q wh+YToxBYI17G8yrdkA/m/fWfl1PNa8ttAaTllBbIeq/ioUR5Zh+vsKO+O3U3Fc1u3ww balsyaRWwJWOxLhGhFtmdH0dphRzuy9k+uALFSa2FocIOmrrqzYtkIyYoo1xjnH3zR69 AQ7g== 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 37-v6si22536798pgy.118.2018.07.16.00.44.13; Mon, 16 Jul 2018 00:44:28 -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 S2389112AbeGPIJn (ORCPT + 99 others); Mon, 16 Jul 2018 04:09:43 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:48034 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388375AbeGPIJm (ORCPT ); Mon, 16 Jul 2018 04:09:42 -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 921BBC03; Mon, 16 Jul 2018 07:43:39 +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.9 16/32] usb: quirks: add delay quirks for Corsair Strafe Date: Mon, 16 Jul 2018 09:36:24 +0200 Message-Id: <20180716073506.606523387@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180716073504.433996952@linuxfoundation.org> References: <20180716073504.433996952@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.9-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 },