6a9155
From: "kernel-team@fedoraproject.org" <kernel-team@fedoraproject.org>
6a9155
Date: Thu, 29 Jul 2010 16:46:31 -0700
6a9155
Subject: [PATCH] input: kill stupid messages
6a9155
68d0d6
Bugzilla: N/A
68d0d6
Upstream-status: Fedora mustard
6a9155
---
6a9155
 drivers/input/keyboard/atkbd.c | 4 ++++
6a9155
 1 file changed, 4 insertions(+)
68d0d6
Jesse Keating 7a3296
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
cc7213
index ec876b5b1382..9d5216e23a09 100644
Jesse Keating 7a3296
--- a/drivers/input/keyboard/atkbd.c
Jesse Keating 7a3296
+++ b/drivers/input/keyboard/atkbd.c
6a9155
@@ -436,11 +436,15 @@ static irqreturn_t atkbd_interrupt(struct serio *serio, unsigned char data,
Jesse Keating 7a3296
 		goto out;
Jesse Keating 7a3296
 	case ATKBD_RET_ACK:
Jesse Keating 7a3296
 	case ATKBD_RET_NAK:
Josh Boyer e3ad20
+# if 0
Jesse Keating 7a3296
+		/* Quite a few key switchers and other tools trigger this
Jesse Keating 7a3296
+		 * and it confuses people who can do nothing about it */
Jesse Keating 7a3296
 		if (printk_ratelimit())
Jesse Keating 7a3296
 			dev_warn(&serio->dev,
Jesse Keating 7a3296
 				 "Spurious %s on %s. "
Josh Boyer e3ad20
 				 "Some program might be trying to access hardware directly.\n",
Jesse Keating 7a3296
 				 data == ATKBD_RET_ACK ? "ACK" : "NAK", serio->phys);
Jesse Keating 7a3296
+#endif
Jesse Keating 7a3296
 		goto out;
Jesse Keating 7a3296
 	case ATKBD_RET_ERR:
Jesse Keating 7a3296
 		atkbd->err_count++;