git: d5ed374c401a - stable/13 - cyapa(4): Adapt to recent evdev KPI changes

Vladimir Kondratyev wulf at FreeBSD.org
Tue Sep 21 23:43:40 UTC 2021


The branch stable/13 has been updated by wulf:

URL: https://cgit.FreeBSD.org/src/commit/?id=d5ed374c401ad6b7b35f2621f7ab7565b5583e2d

commit d5ed374c401ad6b7b35f2621f7ab7565b5583e2d
Author:     Vladimir Kondratyev <wulf at FreeBSD.org>
AuthorDate: 2021-09-02 19:28:05 +0000
Commit:     Vladimir Kondratyev <wulf at FreeBSD.org>
CommitDate: 2021-09-21 23:36:40 +0000

    cyapa(4): Adapt to recent evdev KPI changes
    
    (cherry picked from commit 4836af0d42cf9d299ba9203a835bdcfa797a74c2)
---
 sys/dev/cyapa/cyapa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/cyapa/cyapa.c b/sys/dev/cyapa/cyapa.c
index 517ce8d1bab7..39f3349d5217 100644
--- a/sys/dev/cyapa/cyapa.c
+++ b/sys/dev/cyapa/cyapa.c
@@ -1377,7 +1377,7 @@ cyapa_raw_input(struct cyapa_softc *sc, struct cyapa_regs *regs, int freq)
 #ifdef EVDEV_SUPPORT
 	if (evdev_rcpt_mask & EVDEV_RCPT_HW_MOUSE) {
 		for (i = 0; i < nfingers; ++i) {
-			int32_t slot = evdev_get_mt_slot_by_tracking_id(
+			int slot = evdev_mt_id_to_slot(
 			    sc->evdev, regs->touch[i].id);
 			if (slot == -1) {
 				if (cyapa_debug)


More information about the dev-commits-src-all mailing list