]> xenbits.xensource.com Git - people/julieng/linux-arm.git/commitdiff
input: kill stupid messages
authorkernel-team@fedoraproject.org <kernel-team@fedoraproject.org>
Thu, 29 Jul 2010 23:46:31 +0000 (16:46 -0700)
committerJulien Grall <julien.grall@citrix.com>
Fri, 18 Sep 2015 15:29:26 +0000 (16:29 +0100)
Bugzilla: N/A
Upstream-status: Fedora mustard

drivers/input/keyboard/atkbd.c

index ec876b5b1382ff7da2e28b1eed6e953f0729ed32..9d5216e23a094403de5d97a68e2c068bcff8d79d 100644 (file)
@@ -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++;