]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: altera_ps2 - write to correct register when disabling interrupts
authorTobias Klauser <tklauser@distanz.ch>
Fri, 31 Oct 2014 16:16:19 +0000 (09:16 -0700)
committerJiri Slaby <jslaby@suse.cz>
Wed, 19 Nov 2014 22:15:22 +0000 (23:15 +0100)
commit937d4c93ad018deb95c363ed469ed3b228e6e24e
tree6b33607f3c70b9bf17d55b541225a1401f7f1629
parent214c97a12f1f14260b90eea07444de6aa3b90d27
Input: altera_ps2 - write to correct register when disabling interrupts

commit d0269b8475020718afd7f559064698f5500fa879 upstream.

In altera_ps2_close, the data register (offset 0) is written instead of
the control register (offset 4), leading to the RX interrupt not being
disabled. Fix this by calling writel() with the offset for the proper
register.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/input/serio/altera_ps2.c