From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753440AbdCFMRt (ORCPT ); Mon, 6 Mar 2017 07:17:49 -0500 Received: from mx2.suse.de ([195.135.220.15]:52879 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752164AbdCFMRk (ORCPT ); Mon, 6 Mar 2017 07:17:40 -0500 Date: Mon, 6 Mar 2017 13:17:32 +0100 (CET) From: Jiri Kosina X-X-Sender: jkosina@pobox.suse.cz To: Jonathan Tomer cc: benjamin.tissoires@redhat.com, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: Re: [PATCH v2] HID: Add quirk driver for NTI USB-SUN adapter In-Reply-To: <20170201195457.31060-1-jktomer@google.com> Message-ID: References: <20170201195457.31060-1-jktomer@google.com> User-Agent: Alpine 2.20 (LSU 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 1 Feb 2017, Jonathan Tomer wrote: > These adapters allow pre-USB Sun keyboards to be connected to USB-only > machines, but include the wrong maximum keycode in their report > descriptor, making most of the keys present on Sun keyboards but not > 101-key PC keyboards nonfunctional. > > This patch implements a quirk that overrides the maximum keycode in the > report descriptor. > > Signed-off-by: Jonathan Tomer > --- > Changes in v2: > - Remove unneeded guard in Kconfig > - Simplify registration code by using module_hid_driver() instead of > module_{init,exit} > - add MODULE_{AUTHOR,DESCRIPTION} Applied to for-4.11/nti. Thanks, -- Jiri Kosina SUSE Labs