HID: 3m: Output proper orientation range
authorHenrik Rydberg <rydberg@euromail.se>
Tue, 21 Sep 2010 14:16:09 +0000 (16:16 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 21 Sep 2010 14:16:09 +0000 (16:16 +0200)
commit46c4ba012c9e70b26e4c2072245e3922cca3ef31
treee6b6500988a5e90e202db1b0be625790400a9b4f
parent41035901df14e90ab70db826e940712dde2c1a0d
HID: 3m: Output proper orientation range

The range of orientation values for height/width devices should
be [0, 1], but is currently set to [1, 1]. Having min == max also
breaks uinput device setup. Fixed with this patch.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Acked-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-3m-pct.c