]> 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)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:31 +0000 (21:17 -0600)
commit04ec0383183390e09f033337779c56f0742cca2b
tree15fbe4c1e7eb6c56cb5d8374673c0abf654d0c9e
parent8ad028688c5e0b246716d125abcbeed7c8057e39
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>
(cherry picked from commit e9f2c4cf673dee1527925f30a9f3fd137d9799ad)
drivers/input/misc/mma8450.c