Apexq: Update panel color offset application.

Corrects overflow errors due to inappropriate assumptions
made regarding the way that char's overflow. Taken from jf.

Change-Id: I9126b4fc698800a93d4cafad24f134b339130eaf
d2: add support for new sysinterface

kanged from codeworkx
Change-Id: I837593c59c5439ab4e18d176713614292bceba81
apexq: add support for panel color shifting based on a sysfs interface

Adapted from work by morfic and ktoonsez and invisiblek

Creates a sysfs interface here:
  /sys/class/lcs/panel/panel_colors

Will accept 0-4 for parameters:
  0 - Cold (more blues)
  1 - Cool
  2 - Normal (stock colors)
  3 - Warm
  4 - Hot (more reds)

PS2: whitespace error correction

Change-Id: I457504ba2c7bd966e5c21767c769d0d637284ea4
ApexQ: minor usb fix

power_supply.h has 14 types on this kernel

Change-Id: I6e264cf6208c5c1b4753ddf4d71c0f5f9bb0912d
Merge remote-tracking branch 'github/cm-10.2' into update
Merge "d2: add support for new sysinterface" into cm-10.2
Merge "ApexQ: minor usb fix" into cm-10.2
Merge remote-tracking branch 'github/cm-10.2' into update
ASoC:msm: Increase Proxy buffering

-Proxy buffering can overflow if BT
playback setup takes a lot of time
-Fix this by increasing the proxy
buffer size so that we will end
up buffering the additional data that
can come in during this time

Change-Id: I736937ad03684a3b9aff586b8f676ec60259a442
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>