Input: wacom - fix physical size calculation for 3rd-gen Bamboo
authorJason Gerecke <killertofu@gmail.com>
Tue, 13 Mar 2012 05:15:43 +0000 (22:15 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 13 Mar 2012 05:19:14 +0000 (22:19 -0700)
This calculation determines the physical dimensions of the tablet,
used later on in calculate_touch_res to obtain the touch sensor
resolution.

Instead of dividing the logical size by the resolution, the current
code performs a multiplication. This doesn't pose a problem for the
3rd-gen Bamboo since the resolution and scale factor happen to be
identical, but will produce an incorrect result for other cases.

Signed-off-by: Jason Gerecke <killertofu@gmail.com>
Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/tablet/wacom_sys.c

Simple merge