Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2046226imm; Mon, 16 Jul 2018 00:50:43 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfRENCH5UtH8ZErOU+R3McX2PLb4Af9hP5K76moaZ6BdXSYGZIyDpYjJbOz7xrKojj2QW1m X-Received: by 2002:a17:902:a24:: with SMTP id 33-v6mr15607846plo.88.1531727443653; Mon, 16 Jul 2018 00:50:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531727443; cv=none; d=google.com; s=arc-20160816; b=kCj3g4tnbpHenAF4EZAMyv6idRmlVzzS6VjD559pawHSCgYN9U8QpGuU3uEc/sK2Y9 G4rGcayq36GwTsc/Je6r3HAvemp1pAWkgDPVEpEiwZ4+7Lf8VoAHv3yKy8avzGz+w6MK Zs9LA9/Ijzb+dpzIvENAkiea5RMKt2kEpvMIvOqp4kIdQ0R97/o8HWL7WVtPLN/lmcEo ca0+hVrVOPTv/LLziGTj7fjtGcnQbtxOkHYj1IA1Xc5b+TdTO52VanNPectmbZHld+I+ ZVUVoVdsu4BQ7UFGU9/KwURjtDAP1pnEqT6G/GQRL5j2HWSO7FAshr9BNKiTYhaxx57B Arcw== 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=Mdhlkl18fxh1FDquJlXei9G6s6bZaN1ZbLd2z3wEIDw=; b=ImGNfZLayQ8msdEUkZFMgB047COV2EpsqE8DGKkbDeTJNrjllc2D9qkgXw4uz8CNeC H434H5Bd+5paVU2xnrZjvGXuKvY28LV8cwtoRUSAKUgxLZMvzU6YPiJui8SPLpmfh1CD 9npJK2sjYmUsVdCY5V/fNK7ICJFWtxuxxZuobEm46qjFo7gmU6YysMn0+fqSKqRTSWRV Z+QWyymj5QMKT/c3cI5AyEnQ28y9u0LPHTq4yWYHuNXoCHmZ1lwjoUHNKWszEvzUOUnw 0VGkotNhPV7xA0W5npW/G78v7yJsL19KtsflItmqr7HtPYCLzr1zZuz2Bhig9LMEeGGM VkJg== 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 j15-v6si27061687pgb.472.2018.07.16.00.50.29; Mon, 16 Jul 2018 00:50:43 -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 S2389376AbeGPIPO (ORCPT + 99 others); Mon, 16 Jul 2018 04:15:14 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:48046 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389139AbeGPIJs (ORCPT ); Mon, 16 Jul 2018 04:09:48 -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 A7D87C03; Mon, 16 Jul 2018 07:43:45 +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.9 18/32] HID: usbhid: add quirk for innomedia INNEX GENESIS/ATARI adapter Date: Mon, 16 Jul 2018 09:36:26 +0200 Message-Id: <20180716073506.825887007@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: 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 @@ -549,6 +549,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 @@ -170,6 +170,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 } };