OTG+charge hack: restore peripherals on power loss (partly working)
drivers/video/msm: restore update_lcdc_lut capabilities for MDP devices

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
Revert "video: msm: Initialize HistLUT with last saved LUT"

This reverts commit 596d017f93a9b5d479a1edc18a0d21876e0d63a6.

Signed-off-by: flar2 <asegaert@gmail.com>
mach-msm/Kconfig: add LCDC LUT

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
msm_kcal_ctrl: initial code for generic MSM LCD temperature calibrations

this should be compatible with all MDP devices from Qualcomm

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
Makefile adjustment

Signed-off-by: flar2 <asegaert@gmail.com>
ElementalX governor

Signed-off-by: flar2 <asegaert@gmail.com>
cpufreq_elementalx: initial tuning for flo
cpufreq_elementalx: fixes and add gboost_threshold tunable

Signed-off-by: flar2 <asegaert@gmail.com>
cpufreq_elementalx: add counter to smooth things out
Added optimized ARM RWSEM algorithm.

Signed-off-by: flar2 <asegaert@gmail.com>
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>
Signed-off-by: flar2 <asegaert@gmail.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>
Signed-off-by: flar2 <asegaert@gmail.com>
ARM: 7583/1: decompressor: Enable unaligned memory access for v6 and above

Modern GCC can generate code which makes use of the CPU's native
unaligned memory access capabilities.  This is useful for the C
decompressor implementations used for unpacking compressed kernels.

This patch disables alignment faults and enables the v6 unaligned
access model on CPUs which support these features (i.e., v6 and
later), allowing full unaligned access support for C code in the
decompressor.

The decompressor C code must not be built to assume that unaligned
access works if support for v5 or older platforms is included in
the kernel.

For correct code generation, C decompressor code must always use
the get_unaligned and put_unaligned accessors when dealing with
unaligned pointers, regardless of this patch.

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: flar2 <asegaert@gmail.com>
Enable UNALIGNED_ACCESS for the new LZO algorithm to use. LZO decrompression is used on QCACHE so we benefit a little from the new and improved LZO code.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
Revert "fs: sync: add missing return if fsync is disabled from userspace."

This reverts commit a1738eefb690dd71216622eec4208740282a9146.
Revert "Added fsync on/off support."

This reverts commit 7ae5594fd36eb0611367a7166ddf704ec6fb9c5b.
switch do_fsync() to fget_light()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: flar2 <asegaert@gmail.com>
fs/sync.c: add async_fsync

Signed-off-by: flar2 <asegaert@gmail.com>
drivers/input/touchscreen/ektf3k: auto retry 10 times on i2c reads The i2c devices we are connecting to may not be ready yet, or just busy. Retry with a 10ms pause in order to still obtain i2c data. This improves overall i2c data robustness

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