diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2011-05-16 23:17:40 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-05-16 23:20:17 -0700 |
commit | f1e430e6369f5edac552d99bff15369ef8c6bbd2 (patch) | |
tree | 878ff70b8fd431e25b7cba736cd08ca367936582 /drivers/input/touchscreen/tsc2007.c | |
parent | 3532cb0ca2774b05e3c660f536ba3d1b38061fc9 (diff) |
Input: ad714x - fix captouch wheel option algorithm
As reported by Jean-Francois Dagenais, the wheel algorithm caused a
divide by zero exception due to missing variable pre-initialization.
In fact it turned out that the whole algorithm had several problems.
It is therefore replaced with something that is known working.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Tested-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/touchscreen/tsc2007.c')
0 files changed, 0 insertions, 0 deletions