diff options
author | Sumit Semwal <sumit.semwal@linaro.org> | 2020-06-03 16:03:17 +0530 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2021-05-27 11:27:44 +0530 |
commit | a05fa63f917bc60091b9ddbc77efc3e745d437e6 (patch) | |
tree | c56e2ddeda42c40f4e3e4712ae9e978e7898efa2 | |
parent | 0e51183b4fa331dff16df3fba3e40480f7985203 (diff) |
fts: debug logs
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
-rw-r--r-- | drivers/input/touchscreen/stm/fts.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/stm/fts.c b/drivers/input/touchscreen/stm/fts.c index 96de1a8daa78..194bbf926108 100644 --- a/drivers/input/touchscreen/stm/fts.c +++ b/drivers/input/touchscreen/stm/fts.c @@ -1474,6 +1474,7 @@ static void touchsim_refresh_coordinates(struct fts_touchsim *touchsim) static void touchsim_report_contact_event(struct input_dev *dev, int slot_id, int x, int y, int z) { +printk("SS: %s, slot_id: %d, x: %d, y: %d, z: %d\n", __func__,slot_id, x, y, z); /* report the cordinates to the input subsystem */ input_mt_slot(dev, slot_id); input_report_key(dev, BTN_TOUCH, true); @@ -2471,6 +2472,7 @@ static bool fts_enter_pointer_event_handler(struct fts_ts_info *info, unsigned unsigned int touch_condition = 1, tool = MT_TOOL_FINGER; int x, y, z, major, minor, distance; u8 touchType; +printk("SS: %s, event: %c\n", __func__, *event); if (!info->resume_bit) goto no_report; |