lge_touch_core: i2c_read: auto retry 10 times before erroring out
The i2c devices we are connecting to may not be ready yet, or just
busy. Retry with a 10ms pause in order to still obtain touch data.
This improves overall touch data robustness, but the main thing it
does:
WE CAN FINALLY GET TOUCH DATA IN SUSPEND ALL THE TIME.

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
drivers/input/touchscreen/lge_touch_core: Add prevent_sleep functionality

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
drivers/input/touchscreen/lge_touch_core: release all touchscreen events when going to sleep

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
drivers/input/touchscreen/lge_touch_core: trigger on low and do not suspend the IRQ

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
drivers/input/touchscreen/lge_touch_core: fix ifdef, fixes dt2w without s2w

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Remove Bricked's DT2W related code since I want to use Semaphore's DT2W instead
lge_touch_core: sweep2wake: use more standard sysfs store method

Signed-off-by: faux123 <reioux@gmail.com>

Conflicts:
	drivers/input/touchscreen/lge_touch_core.c

Signed-off-by: Naeriu <rainenaeriu@gmail.com>
Merged Bricked S2W finally!