cyttsp: fix touchscreen not working after S3 resume
authorHong Liu <hong.liu@intel.com>
Mon, 25 Apr 2011 05:05:53 +0000 (13:05 +0800)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:37:48 +0000 (12:37 -0800)
commit3facc33dfc25ffe63bd096f8b9ed99db5e19e4d6
treead0a762aba84c0cffcc7fc77e9860f88102cca7b
parent508713c313603d41343c5a5295527fd2c9d91c9f
cyttsp: fix touchscreen not working after S3 resume

BZ:1101

Gaurd the cyttsp core suspend function with the suspended state,
and move the legacy suspend/resume to the new dev_pm_ops.

Change-Id: Iaadd8935e94b27b8a985ac6b8bcf4de48a1ed7a5
Signed-off-by: Hong Liu <hong.liu@intel.com>
drivers/input/touchscreen/cyttsp_core.c
drivers/input/touchscreen/cyttsp_i2c.c