touchscreen: add suspend hooks to synaptics_i2c_rmi

touchscreen driver currently has no kernel-based suspend hooks.
this is causing very high battery drain due to it always being active.
(in calls, while in the pocket, etc)

this patch ports the framebuffer suspend hook from the generic
synaptics_i2c_rmi4 driver in drivers/input/touchscreen.

Change-Id: Iaf7d2d7db2773f8ced25b78f940bf38b78d0daaf
Linux 3.4.79
Linux 3.4.80
ASoC: msm: Add Buffer overflow check

The overflow check is required to ensure that user space data
in kernel may not go beyond buffer boundary.

Change-Id: I7d94a209c0b8818bfb9c65f8c13a5f5e36c49e2d
CRs-Fixed: 563086
Signed-off-by: Mohammad Johny Shaik <mjshai@codeaurora.org>
msm: kgsl: Verify the user address before reading a perfcounter group

In adreno_perfcounter_read_group some user input verification is
occuring on a user pointer before copy_from_user is called
resulting in a possible segmentation fault if called with improper
input data.

CRs-fixed: 553314
Change-Id: Ic0dedbad4c5e4b2610368d51ff591d1f716712f4
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
hlte: power enhancement for wacom hardware.

* always disable digitizer when the pen is inserted

Change-Id: I6c9798682f9f6349b37cb452353bd0c0e6958401
mdss: HACK: restart mpdecision at regular screen on/off interval

* initially set to restart every 50 screen off events - implement sysfs later
* should help with occasional stuck cores
leanKernel v1.12