input/touchscreen/rockchip_gslX680: add revert_x setting

Change-Id: I2ce5da8730f70b5b62149c6e8c27ca58e20770e0
Signed-off-by: Hans Yang <yhx@rock-chips.com>
This commit is contained in:
Hans Yang
2019-04-03 11:44:13 +08:00
committed by Tao Huang
parent 02b3dddab9
commit 6b1d3f74d8

View File

@@ -1234,6 +1234,7 @@ static int gsl_ts_probe(struct i2c_client *client,
of_property_read_u32(np, "screen_max_x", &(ts->screen_max_x));
of_property_read_u32(np, "screen_max_y", &(ts->screen_max_y));
of_property_read_u32(np, "revert_x", &revert_x);
of_property_read_u32(np, "revert_y", &revert_y);
ts->irq_pin = of_get_named_gpio_flags(np, "touch-gpio", 0, NULL);