]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ad7879 - fix deficient device disable
authorMichael Hennerich <michael.hennerich@analog.com>
Tue, 2 Aug 2011 22:41:37 +0000 (15:41 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 3 Aug 2011 05:17:44 +0000 (22:17 -0700)
commitc9bf9cbdcce40ac100c24157db5d90928c0d069c
treecc8aa9b806e1494f018c634c62936854b8275e62
parent490274dff125c3edfbfadb1029f0d40151be6cd3
Input: ad7879 - fix deficient device disable

Input close or device disable should not interact with the exported
gpiolib functionality. However that's the case. __ad7879_disable()
clears the entire AD7879_REG_CTRL2, while it should just power down
the ADC and its reference.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ad7879.c