LCD_KCAL: Color Control driver for OnePlus One

Change-Id: I6adb94c00ae689236a618cca73fbe3dec80a3c7f
LCD_KCAL: Introduce configurable kcal_min
Lower values such as 0-10 ultimately create a dark, washed out display,
if a user accidently sets their kcal values to "0 0 0" they will loose
visual control of the device, potentially requiring a hard reboot.
Introduce minimum kcal values to prevent this behavior.

Willing users can disable this protection by setting the kcal_min value
to '0', however the default value of 35 is recommended.

sysfs:
echo "1/255" > /sys/devices/platform/kcal_ctrl.0/kcal_min

kcal_min will detect and block values attempting to set lower than
itself, resetting the specific values to that of kcal_min. There is also
behavior to adjust the kcal if kcal_min is set to a level higher than
that of any kcal value(s).

Change-Id: I4c1bba5f157560d2f160b7667d3618e87b5c2131
LCD_KCAL: Prevent out-of-range input values

Change-Id: I25be4b6e678ef9a4be17b4a30f5f30bdb99c7c59
kcal: remove control bit, update lut every overlay start and clean some code.

Change-Id: I815d46e54ebeea6d8310f028d5dd89fc0f574f5a
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
board: kcal: add init values or the display boots completely black.

Change-Id: I4139ca1112b0830f6f02205c23e689b623d08c36
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
mdss: overlay: bye logs, was (not) nice to meet you.

Change-Id: I74c085af303d963db8bca05d1bd89eab6d81afe9
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Defconfig: Enable CONFIG_LCD_KCAL

Change-Id: I5d2a04c987ac358ae17a0eb42e7b50fa8b48e216
LCD_KCAL: Fix compile with disabled CONFIG_LCD_KCAL

Change-Id: I74d765b17f35ab7fa8e8199a1b22e5e835303e91
ASoC: msm: Add async ops for codec TX path

 * Improves low-latency capture performance

Change-Id: I34cdf6da4b8be8cdd4874ca203b1f2ff08eb1dc2
ASoC: msm: qdsp6v2: Unblock EOS on reset event callback

Issue: When SSR command is issued in the end of stream of
compress offload playback, ANR is seen in music app. This
is because EOS is waiting indefinitely and will not return
since ADSP is dead in this case.

Fix is to unblock EOS on reset event callback from DSP.

Change-Id: Ifc379360b0ba7c589c3e2dddb7b2a3c712af7fb0
CRs-Fixed: 731606
Signed-off-by: Divya Narayanan Poojary <dnaray@codeaurora.org>
Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
msm: kgsl: Elevate the priority of the thread during adreno start

It turns out that having lots of spurious threads causes race
conditions. Who knew? Instead of spawning a new high prority
thread just bump the priority of the current thread up
while adreno_start is running.

Change-Id: Ic0dedbadf65da11c800578c8769ae844f010e925
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
kernel bacon: enable touchpanel gestures and double tap by default

Change-Id: I1ba533f6efd012c0c39af6125b36dd222f8d22cc
Enable modules in defconfig

Change-Id: Id6dc3d2603493520dcaa4448d8671af9fc5c4f7a
msm: mdss: Adding lcd notifier

Supports notifier for start&end of LCD power on&off

Change-Id: Idaa685a2c554286da5f764519305d830c4d1a1bd
Signed-off-by: Se Hun Kim <sean2.kim@lge.com>
Signed-off-by: Jongrak Kwon <jongrak.kwon@lge.com>
Signed-off-by: Devin Kim <dojip.kim@lge.com>
cpufreq: msm_mpdecision: removed old msm_mpdecision and create new msm_mpdecision_qcom

Change-Id: Ic456588f5d814dfb1f8b1bb28c86f2e17bb004e9
cpufreq: msm_mpdecision: added mdp hotplug from bricked hammerhead kernel

Thanks a lot
@showp1984

Change-Id: I0eae4aa25055fa2194c50d587a39ab22c8f5ec38
Defconfig: Enable msm_mpdecision and touchboost

Change-Id: Iaa48b17049ee334e54bd76c469aea5c403d1e26e
cpufreq: msm_mpdecision: add get_rq_info, disable non boot cpus when mpd is enabled"

Change-Id: Ibc6d0d8c78cac84dacbad67a707e11e1b50422aa
cpufreq: msm_mpdecision: set the right idle freq and boost for cpu3

Change-Id: I077661eec669fe581020e31e39d97d1c0c1ac3ee
cpufreq: msm_mpdecision: modify debug message for report get_rate for cpu0 also

Change-Id: I9279da59417e8f9dbb6300a26609127ac6cd9a8b