diff options
author | Jason Gerecke <killertofu@gmail.com> | 2012-03-13 06:15:43 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-03-13 06:19:14 +0100 |
commit | 24e3e5ae1e4c2a3a32f5b1f96b4e3fd721806acd (patch) | |
tree | fe7d980253335a2e21a3983be97c79133a9ebbee /drivers/media/dvb/frontends/mb86a16.c | |
parent | Input: twl4030-vibra - really switch from #if to #ifdef (diff) | |
download | linux-24e3e5ae1e4c2a3a32f5b1f96b4e3fd721806acd.tar.xz linux-24e3e5ae1e4c2a3a32f5b1f96b4e3fd721806acd.zip |
Input: wacom - fix physical size calculation for 3rd-gen Bamboo
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>
Diffstat (limited to 'drivers/media/dvb/frontends/mb86a16.c')
0 files changed, 0 insertions, 0 deletions