Input: edt-ft5x06 - use max support points to determine how much to read
authorFranklin S Cooper Jr <fcooper@ti.com>
Fri, 16 Oct 2015 22:34:05 +0000 (15:34 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 16 Oct 2015 23:58:44 +0000 (16:58 -0700)
commitc789f1fb07e7c5acc04342cb2e2412aa71cd6c18
tree302ae1444ca7d407bfff760c16d61e647c5bcf68
parent3a341a4c30d427fd05617087db1564a595f65093
Input: edt-ft5x06 - use max support points to determine how much to read

Calculate the amount of data that needs to be read for the specified max
number of support points. If the maximum number of support points changes
then the amount that is read from the touch screen controller should
reflect this.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/edt-ft5x06.c