mdss: panel: fix purple "push" at low brightness using temperature

* also fix samsung's sysfs mess with temperature node
mdss: implement panel color control

Adapted and modified work by CM-10.2, morfic and ktoonsez
- what a pain this was to make it work on hlte

    Creates a syfs interface here:
	/sys/class/lcd/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)

Conflicts:

	drivers/video/msm/mdss/mdss_samsung_dsi_panel.c

Conflicts:

	drivers/video/msm/mdss/mdss_samsung_dsi_panel.c
cpufreq: ondemandX - screen_off_maxfreq support

Conflicts:

	drivers/cpufreq/cpufreq_ondemand.c
cpufreq: ondemand: set screen off max freq to 2.2ghz

*restore stock behavior
cpufreq: interactive: fix compiling warnings

The gcc warns like:

  cpufreq_interactive.c:745:6: warning: operation on 'ret' may be
undefined [-Wsequence-point]

It was introduced by commit cf0fad49d17cb8273ce555dd5b7afab67d7923bf.

Since sprintf(...) just return 1 (one character) in this case, ret
should not changed.
Just discarding the result of sprintf(...) leads to the result that
the committer of cf0fad49d17cb8273ce555dd5b7afab67d7923bf wants.

Change-Id: Ifed1cef6d6a31c3ed23dad03a567b3b9eddf3a57
Signed-off-by: Chih-Wei Huang <cwhuang@android-x86.org>
Signed-off-by: Dave Daynard <nardholio@gmail.com>
Revert "cpufreq: ondemand: set screen off max freq to 2.2ghz"

This reverts commit ab8fd168afaebe02a2f5dcd14de8d6f04aac1ee9.
Revert "cpufreq: ondemandX - screen_off_maxfreq support"

This reverts commit e625d1164ea4e5dabbb469608bff387a5823ca86.
mach-msm: Add msm_mpdecision Kconfig & Makefile hooks
Also rename qcom's mpdecision to stay in place and be used if CONFIG_MSM_MPDEC is not set

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>

Conflicts:
	arch/arm/mach-msm/Makefile
mach-msm: Add msm_mpdecision
This currently only does the following thing:
Screen on -> CPU1 online
Screen off -> CPU1 offline

More to come.

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
mach-msm: mpdecision: small cleanup

Signed-off-by: showp1984 <showp1984@gmail.com>
fs/dyn_sync_cntrl: dynamic sync control

The dynamic sync control interface uses new power_suspend interface

While screen is on, file sync is disabled
when screen is off, a file sync is called to flush all outstanding writes
and restore file sync operation as normal.

updated for 8974 kernels

Signed-off-by: Paul Reioux <reioux@gmail.com>
exfat: AIO Optimization compatibility fixup

Signed-off-by: Paul Reioux <reioux@gmail.com>