restrict to bottom of screen, reduce feather radius, shorten time window, disable near edges

Signed-off-by: flar2 <asegaert@gmail.com>
(cherry picked from commit b066db0f8aadeb347b015d9a809d39a1a4ac9ae3)
Signed-off-by: thirdzcee <ironbuang@gmail.com>
doubletap2wake: back to full screen, make a bit more sensitive

Signed-off-by: flar2 <asegaert@gmail.com>
(cherry picked from commit c9662c0b1fd9a14ee573cad15c2f0c4809e32300)
Signed-off-by: thirdzcee <ironbuang@gmail.com>
fullscreen option

Signed-off-by: flar2 <asegaert@gmail.com>
(cherry picked from commit 63221242232c8555dd742d8f4b9e789e2a8f42f9)
Signed-off-by: thirdzcee <ironbuang@gmail.com>
Wake Gestures interface and other options for S2W/S2S/DT2W

The wake gestures interface creates a new input device (wake_gesture) and generates input events for several gestures while the screen is off:

1 -> sweep right
2 -> sweep left
3 -> sweep up
4 -> sweep down
5 -> doubletap

These input events can be used by userspace apps to perform custom actions for each gesture

Also added bi-directional sweep2sleep, omnidirectional sweep2wake and optional haptic feedback for gestures

Signed-off-by: flar2 <asegaert@gmail.com>
(cherry picked from commit 7219f7e00b5704c72dd1a19e73bc03f32a77be60)
Signed-off-by: thirdzcee <ironbuang@gmail.com>

Conflicts:
	drivers/input/touchscreen/doubletap2wake.c
	drivers/input/touchscreen/sweep2wake.c
	drivers/misc/msm8974_pwm_vibrator.c
	drivers/video/msm/mdss/mdss_dsi_panel.c
	include/linux/input/sweep2wake.h
Wake gestures: adjust sweep length and doubletap timeout

Signed-off-by: flar2 <asegaert@gmail.com>
(cherry picked from commit 1dbb77a94e514057b13a7fcdae07a13803f5fdd3)
Signed-off-by: thirdzcee <ironbuang@gmail.com>

Conflicts:
	drivers/input/touchscreen/doubletap2wake.c
	drivers/input/touchscreen/sweep2wake.c
wake gesture: little work around for now cause im too lazy to touch the vibrator.. LOL

Signed-off-by: thirdzcee <ironbuang@gmail.com>
Added fsync on/off support.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
(cherry picked from commit a66b4b71cbf9d602fe628a4a54a08a4e47d119b9)
Signed-off-by: thirdzcee <ironbuang@gmail.com>

Conflicts:
	fs/sync.c
fs: sync: add missing return if fsync is disabled from userspace.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
(cherry picked from commit d34774c522eeff54cb2605dee7d8a8ab2f5b2800)
Signed-off-by: thirdzcee <ironbuang@gmail.com>

Conflicts:
	fs/sync.c
fs: sync: enable fsync by default.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
(cherry picked from commit 6f0f1fb76b359d6c5e21f5e49803d3be9925391f)
Signed-off-by: thirdzcee <ironbuang@gmail.com>
fix fs/sync.c:29:29: error: expected ‘)’ before ‘bool’
 module_param(fsync_enabled, bool, 0755)

Signed-off-by: thirdzcee <ironbuang@gmail.com>
add fsync switch to configs

Signed-off-by: thirdzcee <ironbuang@gmail.com>
reenable dynamic fsync and add fsync control

Signed-off-by: thirdzcee <ironbuang@gmail.com>