Frodo Lai 469d7d22ce Input: pixcir_i2c_ts - fix receive error
The i2c_master_recv() uses readsize to receive data from i2c but compares
to size of rdbuf which is always 27. This would cause problem when the
max_fingers is not 5. Change the comparison value to readsize instead.

Fixes: 36874c7e219 ("Input: pixcir_i2c_ts - support up to 5 fingers and
hardware tracking IDs:)

Cc: stable@vger.kernel.org
Signed-off-by: Frodo Lai <frodo_lai@bcmcom.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2015-06-16 17:11:27 -07:00
..
2015-03-24 16:42:54 -07:00
2015-02-17 09:27:54 -08:00
2015-04-07 08:46:23 -07:00
2015-03-23 09:18:27 -07:00
2015-02-15 10:48:44 -08:00
2015-03-24 15:39:26 +01:00
2015-04-01 10:29:05 -07:00
2015-02-03 15:48:51 -08:00
2015-02-03 15:58:39 -08:00
2015-04-07 08:46:23 -07:00
2015-02-04 09:15:18 +01:00
2015-03-12 09:45:46 -07:00
2015-03-23 09:18:27 -07:00
2015-02-18 08:40:29 +01:00
2015-02-17 09:38:59 -08:00
2015-04-01 13:42:58 +02:00
2015-02-15 10:24:55 -08:00
2015-04-02 13:53:53 -07:00
2015-02-03 15:58:39 -08:00