LCD_KCAL: Color Control driver for Nexus 5

Change-Id: I22f63de82443d54dd3282aaa68cf16efdca924cd

Conflicts:
	arch/arm/mach-msm/lge/board-8974-hammerhead.c
	arch/arm/mach-msm/lge/devices_lge.c
	arch/arm/mach-msm/lge/lge_kcal_ctrl.c
	drivers/video/msm/mdss/mdss_mdp_pp.c
ASoC: pcm: Use the power efficient workqueue for delayed powerdown

Adapted for 3.4 from lsk-v3.10

There is no need to use a normal per-CPU workqueue for delayed power downs
as they're not timing or performance critical and waking up a core for them
would defeat some of the point.

Change-Id: Ieb0c2e8bfe6e002914f82240d2f5a00e27198f96
Signed-off-by: Mark Brown <broonie@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
msm: mdss: Find a stable sysfs node for the gamma interface

Move sysfs files to /sys/module/dsi_panel/*

Change-Id: I212a5e0903958127094c71a9f7c6280efc76cf29
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
mdss: dsi: Resolving memory leak in parse dsi commands

Free buf variable before exiting function in error cases
in order to avoid possible memory leaks.

Change-Id: I8ebc3f0f3f40be85e312f9646374a074f1414bdb
Signed-off-by: Krishna Chaitanya Parimi <cparimi@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
msm: mdss: Reset panel to apply RGB gamma data

Writing to the reset gpios produces a short flicker. This however
appears to be the only reliable method to apply RGB gamma data
without switching the panel off and on again.

Change-Id: I80e0ef0ce968353a746a354399f16ed0a4d398f2
push tag and enable KCAL

Change-Id: Ie5e97c0d389444da630ccad46bb0d95475d93605
Revert "Add CONFIG_LCD_KCAL into defconfig"

This reverts commit a112aaf162bbf285dc163e4544c55c1fa188a49b.
msm: vidc: avoid re-initialize of v4l2 spin lock

The fh_lock and fh_list variables are initialized
during probe in video_register_device. This was
re-initialized again when a new video instance was
opened. Since all video instances shared the same
fh_lock and fh_list variable, this gave rise to a race
condition in the v4l2 video driver. Consider the
case of multiple video instances being opened simultaneously.
One video instance has acquired the fh_lock and
calls a v4l2 function which calls v4l2_event_subscribe.
During this time another video instance is opened
and it re-intializes the fh_lock, so the first
instance no longer holds the spin lock and hits
ASSERT in v4l2_event_subscribed. This change
fixes the race condition.

Change-Id: I7af98c8f091cb94e6118c9e2ea1ba5d5d44c6833
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Revert "ASoC: pcm: Use the power efficient workqueue for delayed powerdown"

This reverts commit e9caf64d51ae5bc023315871c8f3519fc21e6368.