|
@@ -485,9 +485,9 @@ static int __devinit bu21013_probe(struct i2c_client *client,
|
|
|
__set_bit(EV_ABS, in_dev->evbit);
|
|
|
|
|
|
input_set_abs_params(in_dev, ABS_MT_POSITION_X, 0,
|
|
|
- pdata->x_max_res, 0, 0);
|
|
|
+ pdata->touch_x_max, 0, 0);
|
|
|
input_set_abs_params(in_dev, ABS_MT_POSITION_Y, 0,
|
|
|
- pdata->y_max_res, 0, 0);
|
|
|
+ pdata->touch_y_max, 0, 0);
|
|
|
input_set_drvdata(in_dev, bu21013_data);
|
|
|
|
|
|
error = request_threaded_irq(pdata->irq, NULL, bu21013_gpio_irq,
|