| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * cyttsp4_core.c |
|---|
| 3 | 4 | * Cypress TrueTouch(TM) Standard Product V4 Core driver module. |
|---|
| .. | .. |
|---|
| 8 | 9 | * |
|---|
| 9 | 10 | * Copyright (C) 2012 Cypress Semiconductor |
|---|
| 10 | 11 | * |
|---|
| 11 | | - * This program is free software; you can redistribute it and/or |
|---|
| 12 | | - * modify it under the terms of the GNU General Public License |
|---|
| 13 | | - * version 2, and only version 2, as published by the |
|---|
| 14 | | - * Free Software Foundation. |
|---|
| 15 | | - * |
|---|
| 16 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 17 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 18 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 19 | | - * GNU General Public License for more details. |
|---|
| 20 | | - * |
|---|
| 21 | 12 | * Contact Cypress Semiconductor at www.cypress.com <ttdrivers@cypress.com> |
|---|
| 22 | | - * |
|---|
| 23 | 13 | */ |
|---|
| 24 | 14 | |
|---|
| 25 | 15 | #include "cyttsp4_core.h" |
|---|
| .. | .. |
|---|
| 754 | 744 | |
|---|
| 755 | 745 | for (t = 0; t < max_slots; t++) { |
|---|
| 756 | 746 | input_mt_slot(md->input, t); |
|---|
| 757 | | - input_mt_report_slot_state(md->input, |
|---|
| 758 | | - MT_TOOL_FINGER, false); |
|---|
| 747 | + input_mt_report_slot_inactive(md->input); |
|---|
| 759 | 748 | } |
|---|
| 760 | 749 | } |
|---|
| 761 | 750 | |
|---|
| .. | .. |
|---|
| 855 | 844 | if (ids[t]) |
|---|
| 856 | 845 | continue; |
|---|
| 857 | 846 | input_mt_slot(input, t); |
|---|
| 858 | | - input_mt_report_slot_state(input, MT_TOOL_FINGER, false); |
|---|
| 847 | + input_mt_report_slot_inactive(input); |
|---|
| 859 | 848 | } |
|---|
| 860 | 849 | |
|---|
| 861 | 850 | input_sync(input); |
|---|