linuxtorvalds / rpms / kernel

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