Jesse Keating 7a32965
From b2c6d55b2351152696aafb8c9bf3ec8968acf77c Mon Sep 17 00:00:00 2001
Jesse Keating 7a32965
From: Kyle McMartin <kyle@phobos.i.jkkm.org>
Jesse Keating 7a32965
Date: Mon, 29 Mar 2010 23:59:58 -0400
Jesse Keating 7a32965
Subject: linux-2.6-input-kill-stupid-messages
Jesse Keating 7a32965
Jesse Keating 7a32965
---
Jesse Keating 7a32965
 drivers/input/keyboard/atkbd.c |    5 +++++
Jesse Keating 7a32965
 1 files changed, 5 insertions(+), 0 deletions(-)
Jesse Keating 7a32965
Jesse Keating 7a32965
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
Jesse Keating 7a32965
index d358ef8..38db098 100644
Jesse Keating 7a32965
--- a/drivers/input/keyboard/atkbd.c
Jesse Keating 7a32965
+++ b/drivers/input/keyboard/atkbd.c
Jesse Keating 7a32965
@@ -425,11 +426,15 @@ static irqreturn_t atkbd_interrupt(struct serio *serio, unsigned char data,
Jesse Keating 7a32965
 		goto out;
Jesse Keating 7a32965
 	case ATKBD_RET_ACK:
Jesse Keating 7a32965
 	case ATKBD_RET_NAK:
Jesse Keating 7a32965
+#if 0
Jesse Keating 7a32965
+		/* Quite a few key switchers and other tools trigger this
Jesse Keating 7a32965
+		 * and it confuses people who can do nothing about it */
Jesse Keating 7a32965
 		if (printk_ratelimit())
Jesse Keating 7a32965
 			dev_warn(&serio->dev,
Jesse Keating 7a32965
 				 "Spurious %s on %s. "
Jesse Keating 7a32965
 				 "Some program might be trying access hardware directly.\n",
Jesse Keating 7a32965
 				 data == ATKBD_RET_ACK ? "ACK" : "NAK", serio->phys);
Jesse Keating 7a32965
+#endif
Jesse Keating 7a32965
 		goto out;
Jesse Keating 7a32965
 	case ATKBD_RET_ERR:
Jesse Keating 7a32965
 		atkbd->err_count++;
Jesse Keating 7a32965
-- 
Jesse Keating 7a32965
1.7.0.1
Jesse Keating 7a32965