mako: faux's Gamma Control

Gamma control interface for Nexus4

Signed-off-by: faux123 <reioux@gmail.com>
mako: Gamma control change checksum

Change checksum and made it counter based to just check if all 10 values are present within our range.

Signed-off-by: Harsh Bhanvadia <harsh.slade@gmail.com>
EHCI: HSIC: disable data payload logging

To enable data payload logging:-

echo 1 > /sys/module/ehci_hcd/parameters/enable_payload_log
Revert "compile with gcc47 and fix errors for it"

This reverts commit d13b4248af9ce3a26fee30073959ed6b8e022566.

Signed-off-by: Harsh Bhanvadia <harsh.slade@gmail.com>
mako: charger: disable hsic host and mdm driver in charger mode

In off-mode charging, hsic host driver never release wake_lock.
Due to this, system cannot enter the suspend during off-mode
charging. This patch disable the hsic host driver and mdm
driver in off-mode charging to reduce power consumption.

Change-Id: I8580af1d5a9d754982b198c9bd47a98e4b69c725
Signed-off-by: Harsh Bhanvadia <harsh.slade@gmail.com>

Conflicts:
	arch/arm/mach-msm/lge/mako/board-mako.c
power: charger: need sometime to handle the usb disconnecting events

When being completely charged in the offmode charging and pulling out TA
from sleep condition, I gave 1 sec. delay until entering sleep condition again,
in order to prevent the phenomenon that a device doesn't turn off.

We need sometime for an userspace application to handle the usb disconnection
events. There is no effect of power consumption.

Change-Id: I0851cc2b47c3780fd68d3e8965fd0d6f5b7e8312
fix auto merge mistake

Signed-off-by: Harsh Bhanvadia <harsh.slade@gmail.com>