diff options
author | Dave Jones <davej@redhat.com> | 2013-01-10 14:24:41 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2013-01-10 14:24:41 -0500 |
commit | efd70b8f77b7a7adf3add772e424ce95f289b50e (patch) | |
tree | 9a1ef645e505365b98c15b27c8b0f6fd27146a66 /input-kill-stupid-messages.patch | |
parent | 1cdf6c9bdd28cb65fa59d2b2ce305cac30decd0d (diff) | |
download | kernel-efd70b8f77b7a7adf3add772e424ce95f289b50e.tar.gz kernel-efd70b8f77b7a7adf3add772e424ce95f289b50e.tar.xz kernel-efd70b8f77b7a7adf3add772e424ce95f289b50e.zip |
Rename a bunch of patches.
Diffstat (limited to 'input-kill-stupid-messages.patch')
-rw-r--r-- | input-kill-stupid-messages.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/input-kill-stupid-messages.patch b/input-kill-stupid-messages.patch new file mode 100644 index 000000000..ff7023f51 --- /dev/null +++ b/input-kill-stupid-messages.patch @@ -0,0 +1,20 @@ +diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c +index add5ffd..5eb2f03 100644 +--- a/drivers/input/keyboard/atkbd.c ++++ b/drivers/input/keyboard/atkbd.c +@@ -430,11 +430,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++; |