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>