Input: atmel_mxt_ts - use T9 reportid range to init number of mt slots
authorDaniel Kurtz <djkurtz@chromium.org>
Thu, 28 Jun 2012 13:08:22 +0000 (21:08 +0800)
committerHenrik Rydberg <rydberg@euromail.se>
Fri, 29 Jun 2012 13:58:06 +0000 (15:58 +0200)
commitcb15911509164f052f103e85a935f513f82e6b54
tree4b5b7770115e65d213b6dd5a599c66260a5f2410
parent04a79181c40d3ad99885e7f799c799c153e93431
Input: atmel_mxt_ts - use T9 reportid range to init number of mt slots

Atmel mxt devices can report one finger for each T9 reportid.
Therefore, this range can be used to report the max number of MT-B slots
to userspace instead of assuming a fixed 10.

Note that mxt_initialized() must complete early, since the input_dev
properties now depend on values in the object table.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
drivers/input/touchscreen/atmel_mxt_ts.c