Merge tag 'regmap-fix-v5.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / drivers / input / touchscreen / cyttsp4_core.c
index 6bcffc9..02a73d9 100644 (file)
@@ -744,8 +744,7 @@ static void cyttsp4_report_slot_liftoff(struct cyttsp4_mt_data *md,
 
        for (t = 0; t < max_slots; t++) {
                input_mt_slot(md->input, t);
-               input_mt_report_slot_state(md->input,
-                       MT_TOOL_FINGER, false);
+               input_mt_report_slot_inactive(md->input);
        }
 }
 
@@ -845,7 +844,7 @@ static void cyttsp4_final_sync(struct input_dev *input, int max_slots, int *ids)
                if (ids[t])
                        continue;
                input_mt_slot(input, t);
-               input_mt_report_slot_state(input, MT_TOOL_FINGER, false);
+               input_mt_report_slot_inactive(input);
        }
 
        input_sync(input);