]> git.karo-electronics.de Git - linux-beck.git/commit
Input: ad714x - fix threshold and completion interrupt masks
authorMichael Hennerich <michael.hennerich@analog.com>
Tue, 17 May 2011 06:17:23 +0000 (23:17 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 17 May 2011 06:20:09 +0000 (23:20 -0700)
commite223cc7e96ddbcd32c4a0314d42ae56ade8008e5
tree9fc6329a887ddd6b638a2c70042b475ec075d3a6
parentdc5f4f5e9a3434bfe925f05db9db2908fbab771f
Input: ad714x - fix threshold and completion interrupt masks

Fix two issues in the threshold and completion interrupt mask and unmask
functions. According to the AD714x datasheets the highest stage completion
interrupt should be enabled. Fix mask computation.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Tested-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/ad714x.c