Atmel 3/5 point multi-touch

file:9152fdf816556b96318d3dc1b9c7013e881d5169 -> file:a35f02b5baa2957f9dcdb26760186031cc20e83f
--- a/drivers/input/touchscreen/atmel.c
+++ b/drivers/input/touchscreen/atmel.c
@@ -902,6 +902,21 @@ static int atmel_ts_probe(struct i2c_cli
ts->id->matrix_x_size, ts->id->matrix_y_size,
ts->id->num_declared_objects);
+ /*
+ Begin ffolkes multitouch selection modified by Ziggy471
+ Purpose: Some hardware can't support more than 3 multitouch points, so revert back to 3 if we find a 004F touch sensor
+ BEGIN
+ */
+ if(ts->id->family_id == 0x4F)
+ pdata->config_T9[14] = 3;
+ else
+ pdata->config_T9[14] = 5;
+
+ printk(KERN_INFO "%d point multitouch enabled\n", pdata->config_T9[14]);
+ /*
+ END
+ */
+
/* Read object table. */
ts->object_table = kzalloc(sizeof(struct object_t)*ts->id->num_declared_objects, GFP_KERNEL);
if (ts->object_table == NULL) {