lib/lzo: Rename lzo1x_decompress.c to lzo1x_decompress_safe.c

Rename the source file to match the function name and thereby
also make room for a possible future even slightly faster
"non-safe" decompressor version.

Signed-off-by: Markus F.X.J. Oberhumer <markus@oberhumer.com>
lib/lzo: Update LZO compression to current upstream version

This commit updates the kernel LZO code to the current upsteam version
which features a significant speed improvement - benchmarking the Calgary
and Silesia test corpora typically shows a doubled performance in
both compression and decompression on modern i386/x86_64/powerpc machines.

Signed-off-by: Markus F.X.J. Oberhumer <markus@oberhumer.com>

Conflicts:
	include/linux/lzo.h

Conflicts:

	include/linux/lzo.h
lib/lzo: Optimize code for CPUs with inefficient unaligned access

Some code paths are only benefical on machines with fast unaligned
loads, so only use these if CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
defined.

Signed-off-by: Markus F.X.J. Oberhumer <markus@oberhumer.com>
lib: Fix Compilation Error

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
lib/decompress_unlz4.c: always set an error return code on failures

"ret", being set to -1 early on, gets cleared by the first invocation of
lz4_decompress()/lz4_decompress_unknownoutputsize(), and hence subsequent
failures wouldn't be noticed by the caller without setting it back to -1
right after those calls.

Reported-by: Matthew Daley <mattjd@gmail.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Kyungsik Lee <kyungsik.lee@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Intellidemand: Change 2 Phase ifdef to Intellidemand

I don't want things getting confused later if I decide to do a second phase on Ondemand as well. They shouldn't be stuck to the same max.

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
cpufreq: Add Intellidemand 2 phase to Kconfig

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
cpufreq: Add 3 phase tunables to badass

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
Defconfig: Add Phase Tunables

* Let's try out the phases and see how they work!

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
Defconfig: Remove More Debugging

* Let's see how the kernel does with less debugging!

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>

Fix

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
Backlight dimmer mod: more gradual transitions
[s2w/dt2w] Make power button also disable irq_wake in touch driver
backlight: Enable Backlight Dimmer

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
Option to disable touch wake with power button

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>

Conflicts:
	drivers/video/msm/mdss/mdss_dsi_panel.c
zram: avoid null access when fail to alloc meta

zram_meta_alloc could fail so caller should check it.  Otherwise, your
system will hang.

Signed-off-by: Minchan Kim <minchan@kernel.org>
Acked-by: Jerome Marchand <jmarchan@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>