• Iiro Valkonen's avatar
    Input: atmel_mxt_ts - remove matrix size check · 0d3c0737
    Iiro Valkonen authored
    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: default avatarIiro Valkonen <iiro.valkonen@atmel.com>
    Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
    0d3c0737
atmel_mxt_ts.c 27 KB