Add Panel Undervolt

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Add Msm8x60 Sound File

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
i2c: gp2a_proximity: Disable CPU-boost when proximity sensor is open

When proximity sensor is open, we are expecting the screen to be turning on and off rapidly. Disable CPU-boost when this happens so the CPU isn't boosted every time the screen turns on.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Revert "msm8660: add additional locking protection to touckey driver"

This reverts commit 315c7d620f5f3d9be1bc51613e08af66c231aeb9.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Revert "qt602240_ts: add additional mutex protection"

This reverts commit c69e66d1f70324f0d61766cd186d4532fa0350d7.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Revert "cpufreq: Fix freq limit init for cores resuming from hotplug"

This reverts commit 3a699712c715fdb51b5a238a42d2100927177b29.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
cpufreq: minor cleanup

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
cpufreq: Retain each individual cpu policy

In the scenario that a non-primary core is resuming from a hotplug, the min/max policy gets reset to the kernel default. This patch retains those policies.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
hercules: CPU_FREQ_RETAIN_MIN_MAX

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
cpu_boost: sultanxda hates children

* Probably because he is "ghey"

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
crypto: lz4,lz4hc - fix decompression

The lz4 library has two functions for decompression, with slightly
different signatures and behaviour. The lz4_decompress_crypto() function
seemed to be using the one that assumes that the decompressed length is
known in advance.

This patch switches to the other decompression function and makes sure
that the length of the decompressed output is properly returned to the
caller.

The same issue was present in the lz4hc algorithm.

Coincidentally, this change also makes very basic lz4 and lz4hc
compression tests in testmgr pass.

Signed-off-by: KOVACS Krisztian <hidden@sch.bme.hu>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
crypto: lzo - use kvfree() helper

kvfree() helper is now available, use it instead of open code it.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Revert "lib/lzo: huge LZO decompression speedup on ARM by using unaligned access"

This reverts commit 31ce52cbd0b321704ce5d5b67e63adf6abe05287.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Merge Upstream LZO

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Revert "crypto: lzo - use kvfree() helper"

Don't know what I was thinking.  We don't have this in 3.0.y

This reverts commit 68e7e9be94fd8bc2c82065854e8402ff493de398.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Revert "Revert "lib/lzo: huge LZO decompression speedup on ARM by using unaligned access""

This reverts commit 969e6215b6fa67414c81f4cf365f74cbd6d4d877.

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

Conflicts:
	lib/lzo/lzodefs.h

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
mach-msm: Do not assume debugging

* Only debug if I say so

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
lib: Do not assume Bugverbose

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
initrd: fix lz4 decompress with initrd

During testing initrd (>2G) support, find decompress/lz4 does not work
with initrd at all.

decompress_* should support:
1. inbuf[]/outbuf[] for kernel preboot.
2. inbuf[]/flush() for initramfs
3. fill()/flush() for initrd.

in the unlz4 does not handle case 3, as input len is passed as 0, and it
failed in first try.

Fix that add one extra if (fill) checking, and get out if EOF from the
fill().

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
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>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Remove Tracing

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