From 6b1d3f74d80117449133de9f002e73d8f76ca2a7 Mon Sep 17 00:00:00 2001 From: Hans Yang Date: Wed, 3 Apr 2019 11:44:13 +0800 Subject: [PATCH] input/touchscreen/rockchip_gslX680: add revert_x setting Change-Id: I2ce5da8730f70b5b62149c6e8c27ca58e20770e0 Signed-off-by: Hans Yang --- drivers/input/touchscreen/gslx680_d708/rockchip_gslX680.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/gslx680_d708/rockchip_gslX680.c b/drivers/input/touchscreen/gslx680_d708/rockchip_gslX680.c index 1a2758357b5c..1417b8eee81a 100644 --- a/drivers/input/touchscreen/gslx680_d708/rockchip_gslX680.c +++ b/drivers/input/touchscreen/gslx680_d708/rockchip_gslX680.c @@ -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);