]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "Input: introduce BTN/ABS bits for drums and guitars"
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 7 Sep 2013 16:48:41 +0000 (09:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 7 Sep 2013 16:48:41 +0000 (09:48 -0700)
commit72ccefbcc1c2671003b46fef2bbbe452402739d3
treef2bcedc7977a43b731a0b5cb1030136d40ea2c1e
parentb1277a95f96c73e3de98ddecae22a253d813a53b
Revert "Input: introduce BTN/ABS bits for drums and guitars"

This reverts commits 3cf8a505cad2a87ea7ceebde and 441a62294935:
  "Input: introduce BTN/ABS bits for drums and guitars"
  "HID: wiimote: add support for Guitar-Hero drums"
  "HID: wiimote: add support for Guitar-Hero guitars"

The extra new ABS_xx values resulted in ABS_MAX no longer being a
power-of-two, which broke the comparison logic.  It also caused the
ioctl numbers to overflow into the next byte, causing problems for that.

We'll try again for 3.13.

Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hid/hid-wiimote-core.c
drivers/hid/hid-wiimote-modules.c
drivers/hid/hid-wiimote.h
include/linux/mod_devicetable.h
include/uapi/linux/input.h