]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Mon, 26 Jan 2015 13:38:51 +0000 (14:38 +0100)
commit6bbd1764b520f02cb69a86b03b4c3084a27339b7
treea0dc26bf8dbc2605d3ae9edc64e76a04026b3ff8
parent19fd1c1aad20eff874b7187cfdddb46d25786260
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: Jiri Slaby <jslaby@suse.cz>
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
drivers/hid/hid-kye.c
drivers/hid/usbhid/hid-quirks.c