Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pckbport pms_synaptics_enable: no need to send PMS_D...



details:   https://anonhg.NetBSD.org/src/rev/54bc51c3d3d7
branches:  trunk
changeset: 971581:54bc51c3d3d7
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Apr 28 19:22:58 2020 +0000

description:
pms_synaptics_enable: no need to send PMS_DEV_ENABLE here because
pms_enable does this for us. Seems to resolve issues with my trackpoint
not working immediately after starting X on ThinkPad X260.

diffstat:

 sys/dev/pckbport/synaptics.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r efb5e5401c5b -r 54bc51c3d3d7 sys/dev/pckbport/synaptics.c
--- a/sys/dev/pckbport/synaptics.c      Tue Apr 28 17:27:03 2020 +0000
+++ b/sys/dev/pckbport/synaptics.c      Tue Apr 28 19:22:58 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: synaptics.c,v 1.65 2020/04/27 22:31:47 jmcneill Exp $  */
+/*     $NetBSD: synaptics.c,v 1.66 2020/04/28 19:22:58 jmcneill Exp $  */
 
 /*
  * Copyright (c) 2005, Steve C. Woodford
@@ -48,7 +48,7 @@
 #include "opt_pms.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.65 2020/04/27 22:31:47 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.66 2020/04/28 19:22:58 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -484,8 +484,6 @@
            (sc->flags & SYN_FLAG_HAS_ADV_GESTURE_MODE))
                synaptics_special_write(psc, SYNAPTICS_WRITE_DELUXE_3, 0x3); 
 
-       synaptics_poll_cmd(psc, PMS_DEV_ENABLE, 0);
-
        sc->up_down = 0;
        sc->prev_fingers = 0;
        sc->gesture_start_x = sc->gesture_start_y = 0;



Home | Main Index | Thread Index | Old Index