]> git.ipfire.org Git - people/arne_f/kernel.git/commit
HID: Add a new id 0x501a for Genius MousePen i608X
authorGiedrius Statkevičius <giedrius.statkevicius@gmail.com>
Fri, 26 Dec 2014 22:28:30 +0000 (00:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Jan 2015 14:59:31 +0000 (06:59 -0800)
commit52c05f86313cd1ef400de43587e5038aba1c4e5c
tree9965787824f82e33b10a1677a24c966e1858debc
parenteeffa922af58d9ab07e0a0e6f054cfa3da9a120f
HID: Add a new id 0x501a for Genius MousePen i608X

commit 2bacedada682d5485424f5227f27a3d5d6eb551c upstream.

New Genius MousePen i608X devices have a new id 0x501a instead of the
old 0x5011 so add a new #define with "_2" appended and change required
places.

The remaining two checkpatch warnings about line length
being over 80 characters are present in the original files too and this
patch was made in the same style (no line break).

Just adding a new id and changing the required places should make the
new device work without any issues according to the bug report in the
following url.

This patch was made according to and fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=67111

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
drivers/hid/hid-kye.c
drivers/hid/usbhid/hid-quirks.c