input: touchscreen: fts_spi: Move back to enable_clicktouch_raw

register_frame_count_change_listener in xiaomi-touch depends on
knock stuff that we didn't reverse yet.

Change-Id: Icbab505357d31c91347df0851ca04cb215f3d818
This commit is contained in:
Arian 2023-06-16 18:10:31 +02:00 committed by Jens Reidel
parent d91d8e4f57
commit 163e025590
No known key found for this signature in database
GPG Key ID: 23C1E5F512C12303

View File

@ -9762,10 +9762,11 @@ static int fts_probe(struct spi_device *client)
xiaomi_touch_interfaces.get_touch_y_resolution = fts_get_y_resolution;
xiaomi_touch_interfaces.get_touch_super_resolution_factor =
fts_get_touch_super_resolution_factor;
xiaomi_touch_interfaces.enable_clicktouch_raw =
fts_enable_click_touch_raw;
xiaomi_touch_interfaces.set_up_interrupt_mode =
fts_set_up_interrupts_mode;
xiaomitouch_register_modedata(0, &xiaomi_touch_interfaces);
register_frame_count_change_listener(fts_enable_click_touch_raw);
fts_read_touchmode_data();
fts_init_touchmode_data();
fts_info->enable_touch_delta = 1;