34af6ad39a
- Add support for touchpad in Asus X450 and X550 (rhbz 1110011)
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From 133140e12fc5d70ec6d355f2a0ce634e740018f0 Mon Sep 17 00:00:00 2001
|
|
From: "kernel-team@fedoraproject.org" <kernel-team@fedoraproject.org>
|
|
Date: Thu, 29 Jul 2010 16:46:31 -0700
|
|
Subject: [PATCH] input: kill stupid messages
|
|
|
|
Bugzilla: N/A
|
|
Upstream-status: Fedora mustard
|
|
---
|
|
drivers/input/keyboard/atkbd.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
|
|
index 2dd1d0dd4f7d..7116b70074bf 100644
|
|
--- a/drivers/input/keyboard/atkbd.c
|
|
+++ b/drivers/input/keyboard/atkbd.c
|
|
@@ -436,11 +436,15 @@ static irqreturn_t atkbd_interrupt(struct serio *serio, unsigned char data,
|
|
goto out;
|
|
case ATKBD_RET_ACK:
|
|
case ATKBD_RET_NAK:
|
|
+# if 0
|
|
+ /* 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. "
|
|
"Some program might be trying to access hardware directly.\n",
|
|
data == ATKBD_RET_ACK ? "ACK" : "NAK", serio->phys);
|
|
+#endif
|
|
goto out;
|
|
case ATKBD_RET_ERR:
|
|
atkbd->err_count++;
|
|
--
|
|
1.9.3
|
|
|