]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00277864 input: mma8450: Add chip id check in probe
authorLuwei Zhou <b45643@freescale.com>
Tue, 3 Sep 2013 09:32:55 +0000 (17:32 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:55:32 +0000 (09:55 +0800)
commitab47c8279aa8b8977106c54cea93dcd5647e216d
tree8fcf2558124141885c7309f5ad2b39dfd0e25b90
parent36d62e95a7c60e51965bf904ebd2292c35d0bfa6
ENGR00277864 input: mma8450: Add chip id check in probe

Add chip ID check in probe function. The mma8450 is
on the E-INK daughter board. When the daughter board
is not pluged, there would be polling error log
continuously. Add the check to avoid this.

Signed-off-by: Luwei Zhou <b45643@freescale.com>
drivers/input/misc/mma8450.c