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