Thread (8 messages) flat view 8 messages, 2 authors, 2014-09-15

Re: [PATCH v2 3/3] psmouse: Add support for detecting FocalTech PS/2 touchpads

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2014-09-13 00:26:34

Hi Hans,

On Fri, Sep 12, 2014 at 11:08:32AM +0200, Hans de Goede wrote:
+/* Always check for focaltech, this is safe as it uses pnp-id matching */
+	if (psmouse_do_detect(focaltech_detect, psmouse, set_properties) == 0) {
+		if (!set_properties || focaltech_init(psmouse) == 0) {
+			/* Not supported yet, use bare protocol */
+			psmouse_max_proto = PSMOUSE_PS2;
I do not believe we need to muck with psmouse_max_proto here, so I'll
drop it and apply.

Thanks.
+			return PSMOUSE_PS2;
+		}
+	}
+
 /*
  * We always check for lifebook because it does not disturb mouse
  * (it only checks DMI information).
-- 
2.1.0
-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help