public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] Input - Rescan serio only if valid reason [1/13]
@ 2002-11-15  8:08 Vojtech Pavlik
  2002-11-15  8:09 ` [patch] Input - Add a missing \n [2/13] Vojtech Pavlik
  0 siblings, 1 reply; 13+ messages in thread
From: Vojtech Pavlik @ 2002-11-15  8:08 UTC (permalink / raw)
  To: vojtech; +Cc: torvalds, linux-kernel


You can import this changeset into BK by piping this whole message to:
'| bk receive [path to repository]' or apply the patch as usual.
'bk pull bk://linux-input.bkbits.net/linux-input' should work as well.

===================================================================

ChangeSet@1.738.14.1, 2002-10-11 22:02:05+02:00, vojtech@suse.cz
  Rescan a serio port in serio.c only when a character comes from it
  only in case it's a valid character (correct parity, no timeout).


 serio.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

===================================================================

diff -Nru a/drivers/input/serio/serio.c b/drivers/input/serio/serio.c
--- a/drivers/input/serio/serio.c	Fri Nov 15 08:32:09 2002
+++ b/drivers/input/serio/serio.c	Fri Nov 15 08:32:09 2002
@@ -139,8 +139,9 @@
 {       
         if (serio->dev && serio->dev->interrupt) 
                 serio->dev->interrupt(serio, data, flags);
-	else
-		serio_rescan(serio);
+	else 
+		if (!flags)
+			serio_rescan(serio);
 }
 
 void serio_register_port(struct serio *serio)

===================================================================

This BitKeeper patch contains the following changesets:
1.738.14.1
## Wrapped with gzip_uu ##


begin 664 bkpatch16583
M'XL(`/FBU#T``[64;6_:,!#'7\>?XJ:^6%%'XLLC86+JUD[;M$E%3'T]&>=H
M4B!&MJ%BRH>?"91V5"O:4V)%.OM_EWOX)2=P;4CWO96ZM21+=@(?E;%]SRP-
M^?*[LT=*.3LHU9R"G2H83X.J7BPM<^=#864)*]*F[Z$?[7?L>D%];_3^P_67
MMR/&!@.X*$5]0U_)PF#`K-(K,2O,N;#E3-6^U:(V<[+"EVK>[*5-R'GH[@2S
MB"=I@RF/LT9B@2ABI(*'<2^-V2ZQ\UW:!_[($3%STJR)>CQ*V"6@GT4]'V,?
M@8<!\@`1PK#/W4K.-D\.!S'A#*'+V3OXMYE?,`DC,E+4(,"-HE*P4-I"56\M
M7X*J9VNX*VFCD*700EK2X%Y&!B9:S:&R;*=R7E(8<CLOC5.[/*OBD<^I5%J3
MM+`0NK+K5U`KL-6<U-)V?/897'=XRH8/DV+=W[P8XX*S-T>:5.AJ`TRPR2RX
M56MC*SD-=O4^:ES,>=+P.,W3AJ1(QCE-BEZ&1.)P.ON0+9?;4#\%W##0!L8F
M"O,X;8E\QNDXHW]?Q!-LCQ7!\S!!SJ.PUT28YWD+,CY%&'^%<`3=\+\@?+6A
M3]]SO"5X`K8D&*\MN1-)KK3BGE>HS!;.EKIV'E?0U7?M<A0-GQO-'T!YB7$(
M(?N$<001\VCFOA'F>2[%TQ>3F;@Q'6=Y;?QOVRI.6Z/S^N$7)TN24[.<#WH4
.B:S@DOT`"X2/]CT%````
`
end

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2002-11-15  8:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-15  8:08 [patch] Input - Rescan serio only if valid reason [1/13] Vojtech Pavlik
2002-11-15  8:09 ` [patch] Input - Add a missing \n [2/13] Vojtech Pavlik
2002-11-15  8:10   ` [patch] Input - Add a wheel to Logitech Wheel Mouse [3/13] Vojtech Pavlik
2002-11-15  8:11     ` [patch] Input - Only check for SET_LEDS in atkbd.c when really needed [4/13] Vojtech Pavlik
2002-11-15  8:12       ` [patch] Input - Probe for Synaptics Touchpads so that other probes don't confuse them [5/13] Vojtech Pavlik
2002-11-15  8:12         ` [patch] Input - Remove dead logibusmouse.h [6/13] Vojtech Pavlik
2002-11-15  8:13           ` [patch] Input - Back out bad 'fix' in hid-input.c [7/13] Vojtech Pavlik
2002-11-15  8:14             ` [patch] Input - fix open counting in usbmouse/usbkbd [8/13] Vojtech Pavlik
2002-11-15  8:14               ` [patch] Input - fix typo in amikbd.c [9/13] Vojtech Pavlik
2002-11-15  8:15                 ` [patch] Input - handle return values from interface_register() [10/13] Vojtech Pavlik
2002-11-15  8:16                   ` [patch] Input - Add defaults for ATKBD et al [11/13] Vojtech Pavlik
2002-11-15  8:17                     ` [patch] Input - Add more descriptive comments to input/serio [12/13] Vojtech Pavlik
2002-11-15  8:18                       ` [patch] Input - Add "PS/2 keyboard" to ATKBD help [13/13] Vojtech Pavlik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox