diff options
| -rw-r--r-- | drivers/input/touchscreen/rm31080a_ts.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/rm31080a_ts.c b/drivers/input/touchscreen/rm31080a_ts.c index 50322d403..1ef092292 100644 --- a/drivers/input/touchscreen/rm31080a_ts.c +++ b/drivers/input/touchscreen/rm31080a_ts.c | |||
| @@ -3456,6 +3456,9 @@ static struct rm_spi_ts_platform_data *rm_ts_parse_dt(struct device *dev, | |||
| 3456 | goto exit_release_all_gpio; | 3456 | goto exit_release_all_gpio; |
| 3457 | pdata->name_of_clock_con = (char *)str; | 3457 | pdata->name_of_clock_con = (char *)str; |
| 3458 | 3458 | ||
| 3459 | pdata->gpio_sensor_select0 = of_property_read_bool(np, "gpio-sensor-select0"); | ||
| 3460 | pdata->gpio_sensor_select1 = of_property_read_bool(np, "gpio-sensor-select1"); | ||
| 3461 | |||
| 3459 | return pdata; | 3462 | return pdata; |
| 3460 | 3463 | ||
| 3461 | exit_release_all_gpio: | 3464 | exit_release_all_gpio: |
