Loading drivers/input/touchscreen/synaptics_tcm/synaptics_tcm_i2c.c +3 −0 Original line number Diff line number Diff line Loading @@ -188,6 +188,9 @@ static int parse_dt(struct device *dev, struct syna_tcm_board_data *bdata) bdata->ubl_i2c_addr = 0; } bdata->extend_report = of_property_read_bool(np, "synaptics,extend_report"); return 0; } #endif Loading drivers/input/touchscreen/synaptics_tcm/synaptics_tcm_touch.c +3 −3 Original line number Diff line number Diff line Loading @@ -846,10 +846,10 @@ static int touch_set_report_config(void) unsigned int length; struct syna_tcm_app_info *app_info; struct syna_tcm_hcd *tcm_hcd = touch_hcd->tcm_hcd; const struct syna_tcm_board_data *bdata = tcm_hcd->hw_if->bdata; #ifdef USE_DEFAULT_TOUCH_REPORT_CONFIG if (!bdata->extend_report) return 0; #endif app_info = &tcm_hcd->app_info; length = le2_to_uint(app_info->max_touch_report_config_size); Loading include/linux/input/synaptics_tcm.h +1 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,7 @@ struct syna_tcm_board_data { unsigned long irq_flags; const char *pwr_reg_name; const char *bus_reg_name; bool extend_report; }; #endif Loading
drivers/input/touchscreen/synaptics_tcm/synaptics_tcm_i2c.c +3 −0 Original line number Diff line number Diff line Loading @@ -188,6 +188,9 @@ static int parse_dt(struct device *dev, struct syna_tcm_board_data *bdata) bdata->ubl_i2c_addr = 0; } bdata->extend_report = of_property_read_bool(np, "synaptics,extend_report"); return 0; } #endif Loading
drivers/input/touchscreen/synaptics_tcm/synaptics_tcm_touch.c +3 −3 Original line number Diff line number Diff line Loading @@ -846,10 +846,10 @@ static int touch_set_report_config(void) unsigned int length; struct syna_tcm_app_info *app_info; struct syna_tcm_hcd *tcm_hcd = touch_hcd->tcm_hcd; const struct syna_tcm_board_data *bdata = tcm_hcd->hw_if->bdata; #ifdef USE_DEFAULT_TOUCH_REPORT_CONFIG if (!bdata->extend_report) return 0; #endif app_info = &tcm_hcd->app_info; length = le2_to_uint(app_info->max_touch_report_config_size); Loading
include/linux/input/synaptics_tcm.h +1 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,7 @@ struct syna_tcm_board_data { unsigned long irq_flags; const char *pwr_reg_name; const char *bus_reg_name; bool extend_report; }; #endif