HID: length resolution should be reported units/mm
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 2 Dec 2010 10:49:06 +0000 (11:49 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 2 Dec 2010 10:49:11 +0000 (11:49 +0100)
commit83ed79c561da20019cb24944f535530d73b2d615
tree8a26828f4f69ead058d95e7c5903feaf2bbc178c
parentd65c3768afb47fb93c43fbfcafef53502edaaa85
HID: length resolution should be reported units/mm

Input ABI requires reporting resolution on main axes in units per
millimeter, not units per inch, so we need to convert accordingly.

Tested-by: Nikolai Kondrashov <spbnick@gmail.com>
Acked-by: Nikolai Kondrashov <spbnick@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input.c