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: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Force the kernel to follow the UNALIGNED code path.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
lzo: fix derp.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
mm: optimize Kernel Samepage Merging(KSM)

Signed-off-by: Dan Trifan <jimsth@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: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
OMAPRPC: Updates to OMAPRPC from 3.4 Kernel tree changes.

This patch contains fixes from
* lindent
* checkPatch
* sparse
* comments from 3.4 fixes in offline email
* moved code from drivers/staging/omaprpc to drivers/rpmsg/omaprpc
* Fixes for offset length checking in ION case
* made debugging verboseness switchable from kernel boot args if supplied.

An RPMSG driver that exposes the Remote Procedure Call API to
user space, in order to allow applications to distribute
remote calls to more power-efficient remote processors on OMAP systems.
Like DOMX it uses the existing RPMSG driver.
Used for Distributed Vision Processing.

3.4 branch commit : 34b5939f30e1d5c0c0f2742b4a080b700d01df6f

Change-Id: Ib428e7a346ce11db371b578a2ff41239db7db483
Signed-off-by: Erik Rainey <erik.rainey@ti.com>

Conflicts:
	drivers/rpmsg/omaprpc/omap_rpc.c
	drivers/rpmsg/omaprpc/omap_rpc_internal.h
	drivers/staging/Kconfig
	drivers/staging/Makefile
	include/linux/omap_rpc.h
OMAPRPC: Ask tiler for pa in buffer lookups

For buffer lookups where no valid handle is available
(either PVR or ion) ask tiler for the physical address
in case there are valid virtual maps for the virtual
address in question.

Change-Id: I7f5d47223a38bef96e2d4aaf52534e6fc7e8f743
Signed-off-by: Alberto Aguirre <a-aguirre@ti.com>
[OMAPRPC] Fix locking mutex twice

Fix calling mutex_lock twice.

Change-Id: I687c2785a6ffc00428bc3975a9bd637df36de8b0
Signed-off-by: Alberto Aguirre <a-aguirre@ti.com>
rpmsg: omaprpc: Fix omaprpc_release hang

omaprpc_release can hang due to an uninterruptible
wait for an ack from the remote core.

Change wait to be interruptible.

Change-Id: Iaf449119b5525db131c536434c84ea296f6e8a95
Signed-off-by: Alberto Aguirre <a-aguirre@ti.com>
ASoC: ABE: Increase volume ramps for DMic's

Most digital microphones need about 10 ms to settle after setting bias
and clocks.  The OMAP DMic module is not able to set the clocks before
beginning the transfer, creating a full-scale pop at the beginning of
the transfer.

This patch works around this behavior by increasing the volume ramp
from 2ms to 50ms for DMic's.

Change-Id: I55fe727fb624965ad22c0f9087c8b426b18080ef
Signed-off-by: Gabriel M. Beddingfield <gabrbedd@ti.com>