From patchwork Fri Nov 3 15:46:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernhard Rosenkraenzer X-Patchwork-Id: 117935 Delivered-To: patches@linaro.org Received: by 10.140.22.164 with SMTP id 33csp3616160qgn; Fri, 3 Nov 2017 08:46:06 -0700 (PDT) X-Received: by 10.80.230.1 with SMTP id y1mr9477716edm.211.1509723966059; Fri, 03 Nov 2017 08:46:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509723966; cv=none; d=google.com; s=arc-20160816; b=JzWndq0/KP/jp0ynix6xrS0MB7ypJPgZyhYSkmg1LEZF+QPeX2/QjqEQX0BEKNAh54 GgsAkn2CRffmarZ1Ozil2yhsF0nc5+2G2TALJh2rFNOP7LZB2WjhNOCt/WvzgFlsxsaU wS1ws/8ECCtODWo3X5Wh5+68BYO6yMWa54I+wpB2ePx5U2V3+UjbbY+PfjrolDqwSSdH 0/oIu2xrliG3fFzdGeIyQK/1k5OPiQCjE0TDUTiIJNCtSt8a4JHghMkssAfSnPLt0Sq5 hdKouCIK236NrAI57vijNCt8LrD4TUNDc3zIXBtNcoQAJl8tTZV0BAvYgCt39utKUnxQ iOig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=jLGr2OHEsrYGjTKl8iFyin5GnxqiJ88JTyoCG0dmdPw=; b=W7AgMtkjWO7E3KSr9+RUA+FUHX0bZRp22hOliGt1d8JQ5H2u+Dg6XewhKHwekovZCk qti2ZK5ZjP8yuhy+dGwy4khi1m1BAyW56goydkvFnkyTR1eRGucpz/HDc9lwdAYyFNLa 0K1qMv8NsPdAXXkA0A7z0MQTADK+vmzNUe5p4on9xboj2X8gYzl7oitRDpqqt/G0bItW HX17EYjbGZw86Sdcv+khKy8dzTsT1fOzQGr2Cqk3bteVXOhLLSvLHv1PB2cUvX0pd2TS RjS2jEYIqJvbusGG8HGcO066DAPLSQTjROn/f2pkX/WwN9QS/lwac3r22TjgcmlmYtt3 JQ5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Dzm0jV2D; spf=pass (google.com: domain of bernhard.rosenkranzer@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=bernhard.rosenkranzer@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id v23sor3747678eda.27.2017.11.03.08.46.05 for (Google Transport Security); Fri, 03 Nov 2017 08:46:06 -0700 (PDT) Received-SPF: pass (google.com: domain of bernhard.rosenkranzer@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Dzm0jV2D; spf=pass (google.com: domain of bernhard.rosenkranzer@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=bernhard.rosenkranzer@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=jLGr2OHEsrYGjTKl8iFyin5GnxqiJ88JTyoCG0dmdPw=; b=Dzm0jV2DLBpVpv3LYm9n3Mh8adNwaK9edrduVSSDrnb3o7qUEj+MZuwkxY8JmiTq3U vboIziZ1LM8ojxkhShYUkuvV3d3YPUaXOZj/vmTbGaNY/D6w9QOgGN4Yq3D55lDOKC2u DQ251VvIL15J6AX4NhTpXpRB+UjNflapohah0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=jLGr2OHEsrYGjTKl8iFyin5GnxqiJ88JTyoCG0dmdPw=; b=YYzSROoPxd5Vw7dQpG+sHu4Pa2p1TuyKr+V3TyKJxXwAsYEd/C1ymfiutuN9dte4HZ L6p2uX/dNwrti44gkoYsPtJ7PIsKjlpDfs2qWP598XfWp1lhvYo6IvbN7bEz8le0v2xt WzmMJEq73HkGld8Jem7wDTePYhzqc/SplQrIvVRK5fHOEGIJocaYkDdwC02cIexRtekG Ly3OpDxpLJIVC5TQyN/ZJ+t1kEQBl2mXyG/Jhnm74w0P+QI33zOJS+S2N+XL+YH+7fQt 0IUqkb+3gvG6N0JRlE/6aECr7hqz3t8xD4ur/QTxjIr9DewAmf1uGKGhQu3P3R6a2jNE fsrg== X-Gm-Message-State: AMCzsaVCKEwvOYKsYJRAQ418iQnhBq6NRavwkyJDWC33Svc69VLATjmC LCaOUWBurZJoeNPv9peV95cRaVdO X-Google-Smtp-Source: ABhQp+Qw3IxE/oJWXBNtW6nrSdVxdz65M9ckjZ69vK2QgZB+ZdGCfNvhgSJfjr95AXSE5qa7X5omBg== X-Received: by 10.80.137.60 with SMTP id e57mr9353143ede.199.1509723965675; Fri, 03 Nov 2017 08:46:05 -0700 (PDT) Return-Path: Received: from localhost.localdomain (63.238.63.188.dynamic.wline.res.cust.swisscom.ch. [188.63.238.63]) by smtp.gmail.com with ESMTPSA id m7sm6681917eda.91.2017.11.03.08.46.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Nov 2017 08:46:04 -0700 (PDT) From: Bernhard Rosenkraenzer X-Google-Original-From: Bernhard Rosenkraenzer To: linux-kernel@vger.kernel.org Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, kai.heng.feng@canonical.com, stable@vger.kernel.org Subject: [PATCH] Add delay-init quirk for Corsair K70 LUX keyboards Date: Fri, 3 Nov 2017 16:46:02 +0100 Message-Id: <20171103154602.10265-1-Bernhard.Rosenkranzer@linaro.org> X-Mailer: git-send-email 2.15.0 Without this patch, K70 LUX keyboards don't work, saying usb 3-3: unable to read config index 0 descriptor/all usb 3-3: can't read configurations, error -110 usb usb3-port3: unable to enumerate USB device Signed-off-by: Bernhard Rosenkraenzer --- drivers/usb/core/quirks.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.15.0 diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c index a6aaf2f193a4..37c418e581fb 100644 --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -221,6 +221,9 @@ static const struct usb_device_id usb_quirk_list[] = { /* Corsair Strafe RGB */ { USB_DEVICE(0x1b1c, 0x1b20), .driver_info = USB_QUIRK_DELAY_INIT }, + /* Corsair K70 LUX */ + { USB_DEVICE(0x1b1c, 0x1b36), .driver_info = USB_QUIRK_DELAY_INIT }, + /* MIDI keyboard WORLDE MINI */ { USB_DEVICE(0x1c75, 0x0204), .driver_info = USB_QUIRK_CONFIG_INTF_STRINGS },