]> git.baikalelectronics.ru Git - kernel.git/commit
Input: tsc2007 - make sure that X plate resistance is specified
authorPhilip Rakity <prakity@marvell.com>
Wed, 12 Oct 2011 03:54:55 +0000 (20:54 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 12 Oct 2011 03:56:41 +0000 (20:56 -0700)
commit857c0fa068d73e02a4988936a33f5f5aa114cd8d
tree6610d3c3c0306e3b1a8e82552f5e426818ff5a57
parent7135fbbd2db6d23774336eb94ce143e88a7b95e4
Input: tsc2007 - make sure that X plate resistance is specified

Abort driver initialization if X plate resistance was not specified in
platform data as it will cause pressure to be always calculated as 0,
and making userspace ignore touch coordinates.

Signed-off-by: Philip Rakity <prakity@marvell.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/tsc2007.c
include/linux/i2c/tsc2007.h