msm: mdss: cleanup MDP3 driver compilation

Enable MDP3 driver compilation only on chip-sets where MDP3 core is
present. This helps reduce the size of kernel binary where MDP3 is
not present.

Change-Id: I357ff73f91e7ee1654a8666a78efebf68a2a8290
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
arm/dts: hammerhead: Optimize panel init/uninit sequence

Reduce panel on delay from 200ms and panel off from 120ms
to 20ms respectively.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Revert "msm: vidc: update with fixes and enhancements"

This reverts commit b85c477784a84c35984772f9b877651df22c8d85.
cpufreq: interactive: we don't need input_boost_freq this high now.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
mako_hotplug: we also don't need it that low at this point.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
lz4: add overrun checks to lz4_uncompress_unknownoutputsize()

Jan points out that I forgot to make the needed fixes to the
lz4_uncompress_unknownoutputsize() function to mirror the changes done
in lz4_decompress() with regards to potential pointer overflows.

The only in-kernel user of this function is the zram code, which only
takes data from a valid compressed buffer that it made itself, so it's
not a big issue.  But due to external kernel modules using this
function, it's better to be safe here.

Reported-by: Jan Beulich <JBeulich@suse.com>
Cc: "Don A. Bailey" <donb@securitymouse.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
msm: thermal: refactor the code.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Linux 3.4.97

Signed-off-by: LaboDJ <jacopolabardi@gmail.com>
sched/cpuidle: reduce IPI store. Backport upstream 3.16 scheduler updates

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

Signed-off-by: LaboDJ <jacopolabardi@gmail.com>
cpufreq: interactive: we're safe to use 250ms again.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>