Thread (14 messages) 14 messages, 6 authors, 2007-04-11

Re: Fix sudden warps in mousedev

From: Pete Zaitcev <zaitcev@redhat.com>
Date: 2007-03-26 19:19:24
Also in: lkml

On Sun, 25 Mar 2007 23:19:38 -0400, Dmitry Torokhov [off-list ref] wrote:
I tried to reproduce warping on console but could not for some reason. Could you
please try the patch below and tell me if it fixes the problem for you?
quoted hunk ↗ jump to hunk
+++ work/drivers/input/mousedev.c
@@ -124,32 +124,33 @@ static void mousedev_touchpad_event(stru
-				if (mousedev->pkt_count >= 2) {
+			if (mousedev->touch && mousedev->pkt_count >= 2) {
This works, thanks a lot.

The double-indented switch() is annoying, but since the whole driver
is written to the same style, I can live with it, for the uniformity
purposes :-)

You can't imagine the relief of using a reliable pointer again, after
months of touching the pad with a certain trepidation.

-- Pete
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help