]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/input/touchscreen/egalax_ts.c
Merge branch 'for-next' of git://github.com/rydberg/linux into next
[karo-tx-linux.git] / drivers / input / touchscreen / egalax_ts.c
index 1602c5b6c0945d2c4731daffa320411fa12e2164..ef5fcb0945e910b11918b26159a2860cec2cba2a 100644 (file)
@@ -212,7 +212,7 @@ static int egalax_ts_probe(struct i2c_client *client,
        input_set_abs_params(input_dev,
                             ABS_MT_POSITION_X, 0, EGALAX_MAX_X, 0, 0);
        input_set_abs_params(input_dev,
-                            ABS_MT_POSITION_X, 0, EGALAX_MAX_Y, 0, 0);
+                            ABS_MT_POSITION_Y, 0, EGALAX_MAX_Y, 0, 0);
        input_mt_init_slots(input_dev, MAX_SUPPORT_POINTS, 0);
 
        input_set_drvdata(input_dev, ts);