]> git.baikalelectronics.ru Git - kernel.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)
commit36b9497f55376c22000f061a84367f61ef40302d
tree9fc6329a887ddd6b638a2c70042b475ec075d3a6
parent7c3c374ebec9ab5e70ec185fb995cffd43f4b0f7
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