Input: atmel_mxt_ts - add support for dynamic message size
authorNick Dyer <nick.dyer@itdev.co.uk>
Wed, 23 Jul 2014 19:46:55 +0000 (12:46 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 23 Jul 2014 21:42:12 +0000 (14:42 -0700)
commit5f3f9bc2b1f3a09e732dfb5faad9cd3f42bd0328
tree4fdbfc8738b12e0566996d7550b27907f3e5b30d
parent8efaa5e5a95170fa126798c7a48f0747fdb29862
Input: atmel_mxt_ts - add support for dynamic message size

The T5 object may have various sizes depending on the objects used on the
particular maXTouch chip and firmware version, therefore it can't be
hardcoded in the driver. Allocate a buffer on probe instead.

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Acked-by: Benson Leung <bleung@chromium.org>
Acked-by: Yufeng Shen <miletus@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/atmel_mxt_ts.c