]> git.baikalelectronics.ru Git - kernel.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)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 31 Oct 2014 16:31:57 +0000 (09:31 -0700)
commitb7a02f2f7cd99eca6c492c610975ca5999d8e1fa
treeccdaa76f5ac3cddcadcfd671350ae2fff2fa8dcf
parent2edf3f7fe2d6ffb45abd9cb8585e47d9294945d8
Input: altera_ps2 - write to correct register when disabling interrupts

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>
drivers/input/serio/altera_ps2.c