Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp36369imu; Tue, 15 Jan 2019 16:03:03 -0800 (PST) X-Google-Smtp-Source: ALg8bN6M5QRx2akVkHO71j8ywxVeH6yK54CW5MOTHhwcped3wnzSzX9JPC3yEits4tyoKtNXii8G X-Received: by 2002:a17:902:bc3:: with SMTP id 61mr6822428plr.15.1547596983749; Tue, 15 Jan 2019 16:03:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547596983; cv=none; d=google.com; s=arc-20160816; b=mt6nNWkhiD12ZVfhgfpAcXEybonyaE9K31yOw4N9qOcisYfQ1jfrd0dhRRBLeAS3nW D8FtBEajdab9zhVzJF/ncZUxOOTP/aDc0Meq2D0reQP+sRtaeSXcBiGUP3LZK2t8uZ3H w+iwMVLOX1K36VvVfTKYwOlB2XUPXUouDu+P20ikNVsEXLAaz03UzKhipLCmMPEM0hRY +cOUzP5MIq1gxMrQwPyBQqNOB1XZXty1yk1dDfj4Xxicu7iwpM1j4vX4ekDcJ4QkCuwF RrqLUAjRfb752aLC51t0cx1efBqROok499uLk7m3Zga5IuSzNKBomreVzQhKuS5rK7jr d+Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=rinUPO1xemMMi0BJRSej205tRqFhXF5Io6MTnkeKdMc=; b=sQzqiaBTTnErOFAi0JX9InQTPnQ9mmSxtg3t0C7ZUVU3Ygo1VWcvV8jyjTsQU2C1YE 481ulV9c9dZcpECeHc62oSLUCrLBZNb4BJ3CKXm4W4bSjEGkHDr0+sI+CByt4GwU8gP1 tXfyTffxv4UBnLCpyImO4HOaBv3zl9dFtorEOgMkki8YQR4jaVaOaYrmcrUexkhAW9Jn yxnU7UzYEF2gkw9oMgQJZMgsWPHipiEki5M2HfTvkiiccsIisIktZ9XpzHZqvBnOFj80 aQt004d8YZG3vSSBBouXznpN56zfI+xpaayMRC+sDcf67QT7Z5OAky/ZmQE/PnO/g4V3 y7Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IedRUMGo; 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 n24si4327603pgv.119.2019.01.15.16.02.43; Tue, 15 Jan 2019 16:03:03 -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; dkim=pass header.i=@kernel.org header.s=default header.b=IedRUMGo; 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 S1729783AbfAOQw3 (ORCPT + 99 others); Tue, 15 Jan 2019 11:52:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:34016 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387519AbfAOQo0 (ORCPT ); Tue, 15 Jan 2019 11:44:26 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5B3332054F; Tue, 15 Jan 2019 16:44:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547570665; bh=k9pITo/UzaIiX85/CtwBCZ84ujNAQKLWvLZbGujFnUM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IedRUMGon6p225GUr6Mln1AEwYohGqsURS3DXbXBffziq/KZ8ET6PQgYVWXgmZTeW S5NexvQTZ3+NtHMFB8QAZiqDkWp2ON94zpcH0tbNgzcNgykrcf06twxMall+8f+xdk X7zg6bEto/5NScNJ8KD/2W0rYOPnPH4iBVfBQRFU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jack Stocker Subject: [PATCH 4.20 26/57] USB: Add USB_QUIRK_DELAY_CTRL_MSG quirk for Corsair K70 RGB Date: Tue, 15 Jan 2019 17:36:07 +0100 Message-Id: <20190115154912.163011072@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190115154910.734892368@linuxfoundation.org> References: <20190115154910.734892368@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.20-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jack Stocker commit 3483254b89438e60f719937376c5e0ce2bc46761 upstream. To match the Corsair Strafe RGB, the Corsair K70 RGB also requires USB_QUIRK_DELAY_CTRL_MSG to completely resolve boot connection issues discussed here: https://github.com/ckb-next/ckb-next/issues/42. Otherwise roughly 1 in 10 boots the keyboard will fail to be detected. Patch that applied delay control quirk for Corsair Strafe RGB: cb88a0588717 ("usb: quirks: add control message delay for 1b1c:1b20") Previous K70 RGB patch to add delay-init quirk: 7a1646d92257 ("Add delay-init quirk for Corsair K70 RGB keyboards") Signed-off-by: Jack Stocker Cc: stable Signed-off-by: Greg Kroah-Hartman --- drivers/usb/core/quirks.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -394,7 +394,8 @@ static const struct usb_device_id usb_qu { USB_DEVICE(0x1a40, 0x0101), .driver_info = USB_QUIRK_HUB_SLOW_RESET }, /* Corsair K70 RGB */ - { USB_DEVICE(0x1b1c, 0x1b13), .driver_info = USB_QUIRK_DELAY_INIT }, + { USB_DEVICE(0x1b1c, 0x1b13), .driver_info = USB_QUIRK_DELAY_INIT | + USB_QUIRK_DELAY_CTRL_MSG }, /* Corsair Strafe */ { USB_DEVICE(0x1b1c, 0x1b15), .driver_info = USB_QUIRK_DELAY_INIT |