]> git.baikalelectronics.ru Git - kernel.git/commit
Input: atmel_mxt_ts - remove matrix size check
authorIiro Valkonen <iiro.valkonen@atmel.com>
Thu, 24 Feb 2011 05:07:20 +0000 (21:07 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 25 Feb 2011 17:27:00 +0000 (09:27 -0800)
commit9bbb84327e529c9ccd7609b5188953f055afd6e4
treebcf3554d15738f5e40706df1c294aa113fa0921b
parenta24ac26fcd26843d4ff1f87710e158d9f55f999f
Input: atmel_mxt_ts - remove matrix size check

The mxt_check_matrix_size() is currently setting the CTE mode to match
xline/yline information that is in the platform data, but it does not
take into account for example the fact that we could have a key array
in use too (key array would use some x/y lines as well).

It would be better to simply rely on the configuration data, and make
sure that the CTE mode set in there matches the touch object (touchscreen,
key array, proximity) configuration (which are set in the config data too).

Signed-off-by: Iiro Valkonen <iiro.valkonen@atmel.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/atmel_mxt_ts.c