X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Finput%2Ftouchscreen%2Fedt-ft5x06.c;fp=drivers%2Finput%2Ftouchscreen%2Fedt-ft5x06.c;h=099d144ab7c96a92bba2814869a9e1ab325718cf;hb=fa2bd30159499f441125495ba8d9d57f646ea42a;hp=64957770b52209fcc527e3f015e21816b3165bc7;hpb=5844c1cdb630b537a2ecdf74dab2985e51dc1bd9;p=karo-tx-linux.git diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c index 64957770b522..099d144ab7c9 100644 --- a/drivers/input/touchscreen/edt-ft5x06.c +++ b/drivers/input/touchscreen/edt-ft5x06.c @@ -782,7 +782,7 @@ static int __devinit edt_ft5x06_ts_probe(struct i2c_client *client, 0, tsdata->num_x * 64 - 1, 0, 0); input_set_abs_params(input, ABS_MT_POSITION_Y, 0, tsdata->num_y * 64 - 1, 0, 0); - error = input_mt_init_slots(input, MAX_SUPPORT_POINTS); + error = input_mt_init_slots(input, MAX_SUPPORT_POINTS, 0); if (error) { dev_err(&client->dev, "Unable to init MT slots.\n"); goto err_free_mem;