6a91557
From: "kernel-team@fedoraproject.org" <kernel-team@fedoraproject.org>
6a91557
Date: Thu, 29 Jul 2010 16:46:31 -0700
6a91557
Subject: [PATCH] input: kill stupid messages
6a91557
68d0d67
Bugzilla: N/A
68d0d67
Upstream-status: Fedora mustard
6a91557
---
6a91557
 drivers/input/keyboard/atkbd.c | 4 ++++
6a91557
 1 file changed, 4 insertions(+)
68d0d67
Jesse Keating 7a32965
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
cc7213f
index ec876b5b1382..9d5216e23a09 100644
Jesse Keating 7a32965
--- a/drivers/input/keyboard/atkbd.c
Jesse Keating 7a32965
+++ b/drivers/input/keyboard/atkbd.c
6a91557
@@ -436,11 +436,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:
e3ad20d
+# 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. "
e3ad20d
 				 "Some program might be trying to 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++;