huangcm
2025-03-10 313d899ea76a728046c194ded35c2d20909cb707
fix(touchscreen): fix ft8756 .i to .h
3 files modified
3 files renamed
11 ■■■■■ changed files
longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/focaltech_config.h 6 ●●●● patch | view | raw | blame | history
longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/focaltech_core.c 3 ●●●●● patch | view | raw | blame | history
longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/focaltech_flash/focaltech_upgrade_ft8756m.c 2 ●●● patch | view | raw | blame | history
longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/include/firmware/fw_sample.h patch | view | raw | blame | history
longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/include/firmware/fw_sample_1.h patch | view | raw | blame | history
longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/include/pramboot/FT8756_Pramboot_V1.3_20200116.h patch | view | raw | blame | history
longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/focaltech_config.h
....@@ -343,19 +343,19 @@
343343 * define your own fw_file, the sample one to be replaced is invalid
344344 * NOTE: if FTS_GET_MODULE_NUM > 1, it's the fw corresponding with FTS_MODULE_ID
345345 */
346
-#define FTS_UPGRADE_FW_FILE "include/firmware/fw_sample.i"
346
+#define FTS_UPGRADE_FW_FILE "include/firmware/fw_sample.h"
347347
348348 /*
349349 * if FTS_GET_MODULE_NUM >= 2, fw corrsponding with FTS_MODULE2_ID
350350 * define your own fw_file, the sample one is invalid
351351 */
352
-#define FTS_UPGRADE_FW2_FILE "include/firmware/fw_sample.i"
352
+#define FTS_UPGRADE_FW2_FILE "include/firmware/fw_sample.h"
353353
354354 /*
355355 * if FTS_GET_MODULE_NUM >= 3, fw corrsponding with FTS_MODULE3_ID
356356 * define your own fw_file, the sample one is invalid
357357 */
358
-#define FTS_UPGRADE_FW3_FILE "include/firmware/fw_sample.i"
358
+#define FTS_UPGRADE_FW3_FILE "include/firmware/fw_sample.h"
359359
360360 /*********************************************************/
361361
longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/focaltech_core.c
....@@ -2027,6 +2027,9 @@
20272027 static void fts_resume_work(struct work_struct *work)
20282028 {
20292029 struct fts_ts_data *ts_data = container_of(work, struct fts_ts_data, resume_work);
2030
+ if (ts_data == NULL) {
2031
+ printk("ts_data is NULL \n");
2032
+ }
20302033 // fts_ts_resume(ts_data->dev);
20312034 }
20322035
longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/focaltech_flash/focaltech_upgrade_ft8756m.c
....@@ -38,7 +38,7 @@
3838 * Global variable or extern global variabls/functions
3939 *****************************************************************************/
4040 u8 pb_file_ft8756[] = {
41
-#include "../include/pramboot/FT8756_Pramboot_V1.3_20200116.i"
41
+#include "../include/pramboot/FT8756_Pramboot_V1.3_20200116.h"
4242 };
4343
4444 /*****************************************************************************
longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/include/firmware/fw_sample.i
similarity index 100%rename from longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/include/firmware/fw_sample.irename to longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/include/firmware/fw_sample.h
longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/include/firmware/fw_sample_1.i
similarity index 100%rename from longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/include/firmware/fw_sample_1.irename to longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/include/firmware/fw_sample_1.h
longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/include/pramboot/FT8756_Pramboot_V1.3_20200116.i
similarity index 100%rename from longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/include/pramboot/FT8756_Pramboot_V1.3_20200116.irename to longan/kernel/linux-4.9/drivers/input/touchscreen/focaltech_touch_ft8756/include/pramboot/FT8756_Pramboot_V1.3_20200116.h