diff options
author | Mark Kuo <mkuo@nvidia.com> | 2012-12-21 19:21:31 +0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 12:49:04 -0700 |
commit | 4d98bf69a361db72b2641166d16653bf3eea8265 (patch) | |
tree | 388d082ee4ed38d8fb44cd8848704682ec7c74ef /drivers/input/mouse/elantech.h | |
parent | b2f92e8eff8fa0490914efda2b1219cff5026444 (diff) |
input: touch: raydium: fix panic when touch panel not attached
Use rm31080_spi_checking() to check if the hardware is present,
and move the checking to the front of the driver init function
so as to avoid registering suspend/resume function which later
causes kernel panic when system suspends.
bug 1207093
Change-Id: I775e4cae70745ee5ef9ae29888a95b4b770df0db
Signed-off-by: Mark Kuo <mkuo@nvidia.com>
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/187746
(cherry picked from commit 41f0d55dcf8ea7b6dd47b6ea7c19eff319128784)
Reviewed-on: http://git-master/r/189030
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'drivers/input/mouse/elantech.h')
0 files changed, 0 insertions, 0 deletions