Mustaavalkosta/htc7x30-3.0 — pull request #4 by thachtunganh (2013-05-01 13:01:58+00:00)
Title: input: touchscreen: fixes for 'sweep2wake' feature

For synaptics 3k serious touch panel driver.

Original post by tweakos:
synaptics s2w now works as:
you need to tap once on any button, then sweep2wake.
explanation:
The first tap will activate wake lock - now touch is not sleeping - sweep - device will wake.
The first tap area is restricted to buttons,this mean if you tap on any other area wake lock will not be init,and s2w will not work.
If you tap on the button ,but not wake your device - wake lock will be init and you will have higher battery drain - for me (before wake lock init - 4 ma, after -9 ) - but the whole sleep is correct ,because we init wake lock after device is sleep.