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