]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "HID: dragonrise: fix HID Descriptor for 0x0006 PID"
authorIoan-Adrian Ratiu <adi@adirat.com>
Tue, 27 Sep 2016 18:41:37 +0000 (21:41 +0300)
committerJiri Kosina <jkosina@suse.cz>
Mon, 10 Oct 2016 08:52:01 +0000 (10:52 +0200)
commit2b699d744cfde747ecafe3cd179937d9f5b4f2a1
treef6fcace76897e372999d536724f2542455ad9599
parent9f0620911ad669d59d1ae5a45115df39f682c870
Revert "HID: dragonrise: fix HID Descriptor for 0x0006 PID"

This reverts commit 3719bccfaba4 ("HID: dragonrise: fix HID...") because it
breaks certain dragonrise 0079:0006 gamepads. While it may fix a breakage
caused by commit e3db08cb39d0 ("HID: input: force generic axis to be mapped
to their user space axis"), it is probable that the manufacturer released
different hardware with the same PID so this fix works for only a subset
and breaks the other gamepads sharing the PID.

What is needed is another more generic solution which fixes e3db08cb39d0
("HID: input: force generic axis ...") breakage for this controller: we
need to add an exception for this driver to make it keep the old behaviour
previous to the initial breakage (this is done in patch 2 of this series).

Signed-off-by: Ioan-Adrian Ratiu <adi@adirat.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-dr.c