Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2043390imm; Mon, 16 Jul 2018 00:46:05 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdBLHfJ54a3P3Z/KOGepyULmWFfSoxh7hmBGmEGAzMZiiauKfvwCW2Pz7Af9mjGE2PpYfKC X-Received: by 2002:a17:902:be0d:: with SMTP id r13-v6mr15551102pls.299.1531727165114; Mon, 16 Jul 2018 00:46:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531727165; cv=none; d=google.com; s=arc-20160816; b=MF2+3vJT5G4TtSp77Lkwkq0zA5KRmIgmkkkHpHkcpQ9mlFtbvw/4MQCH6L0tNFUMgW Ky3ZW5C0PWpHq5b3v2724Ph0/4DmvdS85ZjLfgDiNThBZeFbR0KShjTppHa1CWr2JcIy vq+QtbWYhcKOKmDuCnifQt4SmkIGb+i7dMnFD+DipGx1cNgQAX9O+QNoElC+TNVcDBeL koTKb9587gH6k3zbL7bdbUlCzj9mm4g4nN43twl1/DB8SZKgT//8+CFSelHskqtIQqyE NKMMbZojUYaXruIz7oHV9wWrbSGLHGCc9W0exwoMAp5VadDsCd/p8JbjqC4B0Oii4Dnc HxZw== 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=LUHj4SvtmDR1UrlPIiq4Q2rKlg1V+2ZNVdITvI+w3cs=; b=pCfMihBYn0QoO5sNxbgnmb5jfKMVvpZfz/osBBrVrhUtYZLjpfAIKQet/IAhfaq3dY es27ntW2Q5rpLFJ00ZxuWoy0cOMu4siQ4xt4NatKAXN8oB+Xf28wSRVPDz8bgDNLGLYD P2ZW1q6k+a4WCRDYJW7qUXNlHaj1QOEbFybo9Ix4JBOF+LOz9m3FScbk+cTIsHE9awjq TVUhAUjqkM4tya46tJsOUKy2FgBH+oZeb0c81o+e6AsqPDucJ5PRziijcnaLN7gF+3Al 0isyBU9CbyiN9hTfNMcUN5P45zwAaOr8tO8YD8urQlA5Dl36X2Y6KOUouxPZCo1EkbEp p86Q== 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 v11-v6si25197926pgl.27.2018.07.16.00.45.50; Mon, 16 Jul 2018 00:46:05 -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 S2389248AbeGPIKI (ORCPT + 99 others); Mon, 16 Jul 2018 04:10:08 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:48112 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388375AbeGPIKI (ORCPT ); Mon, 16 Jul 2018 04:10:08 -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 08372C03; Mon, 16 Jul 2018 07:44:04 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tomasz Kramkowski , Benjamin Tissoires , Jiri Kosina Subject: [PATCH 4.4 12/43] HID: usbhid: add quirk for innomedia INNEX GENESIS/ATARI adapter Date: Mon, 16 Jul 2018 09:36:17 +0200 Message-Id: <20180716073513.096899290@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: Tomasz Kramkowski commit 9547837bdccb4af127528b36a73377150658b4ac upstream. The (1292:4745) Innomedia INNEX GENESIS/ATARI adapter needs HID_QUIRK_MULTI_INPUT to split the device up into two controllers instead of inputs from both being merged into one. Signed-off-by: Tomasz Kramkowski Acked-By: Benjamin Tissoires Signed-off-by: Jiri Kosina Signed-off-by: Greg Kroah-Hartman --- drivers/hid/hid-ids.h | 3 +++ drivers/hid/usbhid/hid-quirks.c | 1 + 2 files changed, 4 insertions(+) --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -512,6 +512,9 @@ #define USB_VENDOR_ID_IRTOUCHSYSTEMS 0x6615 #define USB_DEVICE_ID_IRTOUCH_INFRARED_USB 0x0070 +#define USB_VENDOR_ID_INNOMEDIA 0x1292 +#define USB_DEVICE_ID_INNEX_GENESIS_ATARI 0x4745 + #define USB_VENDOR_ID_ITE 0x048d #define USB_DEVICE_ID_ITE_LENOVO_YOGA 0x8386 #define USB_DEVICE_ID_ITE_LENOVO_YOGA2 0x8350 --- a/drivers/hid/usbhid/hid-quirks.c +++ b/drivers/hid/usbhid/hid-quirks.c @@ -152,6 +152,7 @@ static const struct hid_blacklist { { USB_VENDOR_ID_MULTIPLE_1781, USB_DEVICE_ID_RAPHNET_4NES4SNES_OLD, HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_DRACAL_RAPHNET, USB_DEVICE_ID_RAPHNET_2NES2SNES, HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_DRACAL_RAPHNET, USB_DEVICE_ID_RAPHNET_4NES4SNES, HID_QUIRK_MULTI_INPUT }, + { USB_VENDOR_ID_INNOMEDIA, USB_DEVICE_ID_INNEX_GENESIS_ATARI, HID_QUIRK_MULTI_INPUT }, { 0, 0 } };