mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user