Linaro GCC 4.9.1: fix compilation warnings

Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>
lib/string: use glibc version

the performance of memcpy and memmove of the general version is very
inefficient, this patch improved them.

Signed-off-by: Miao Xie <miaox*******>
Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>

Conflicts:

	lib/string.c
Signed-off-by: flar2 <asegaert@gmail.com>

Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>
lib/memcopy: use glibc version

the kernel's memcpy and memmove is very inefficient. But the glibc version is
quite fast, in some cases it is 10 times faster than the kernel version. So I
introduce some memory copy macros and functions of the glibc to improve the
kernel version's performance.

The strategy of the memory functions is:
1. Copy bytes until the destination pointer is aligned.
2. Copy words in unrolled loops.  If the source and destination are not
   aligned in the same way, use word memory operations, but shift and merge
   two read words before writing.
3. Copy the few remaining bytes.

Signed-off-by: Miao Xie <miaox*******>
Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>

Conflicts:

	lib/Makefile
Signed-off-by: flar2 <asegaert@gmail.com>

Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>
Add /dev/frandom support

Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>
fix for app-mounted directories (thanks @mkasick)

Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>
msm: kgsl: Report GPU frequency correctly in sysfs

On our device, slumber is enabled (qcom,strtstp-sleepwake).

Change-Id: Id4444c602ff4dfcd9b74ab8d8124a0061e287bda

Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>
Max screen off frequency and shut down cores while screen is off

Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>

Conflicts:
	arch/arm/mach-msm/Kconfig
	arch/arm/mach-msm/Makefile
Change msm-sleeper to use lcd-notifier

Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>
Add sysfs entry for max screen off frequency

Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>
Change default max screen off frequency to 1190400

Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>
Remove Franco sound driver

Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>
Sound Control: WCD9320: expose additional controls

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>

Conflicts:
	sound/soc/codecs/wcd9320.c

Conflicts:
	sound/soc/codecs/wcd9320.c

Conflicts:
	sound/soc/codecs/wcd9320.c

Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>

Conflicts:
	sound/soc/codecs/wcd9320.c
sound control 3.x: Initial GPL release for WCD9320 Audio Codec

This is first official GPL release based on my private implementation.

This release has been tested for xperia Z officially.  It may work
with other devices using the same WCD9320 Audio Codec as well, but not tested

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>
sound control: WCD9320: update speaker gain control for Z1

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>
Sound Control: (OPTIONAL) add power amp registers access control as well

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>

Conflicts:
	sound/soc/codecs/sound_control_3_gpl.c
sound control: add register cache

bump to version 3.2

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>

Conflicts:
	sound/soc/codecs/sound_control_3_gpl.c
	sound/soc/codecs/wcd9320.c
Add BLX driver

* Battery Life eXtender kernel module for msm8974.
* Read more: http://forum.xda-developers.com/nexus-s/development/mod-battery-life-extender-blx-t1257497

Signed-off-by: Cl3Kener <Cl3Kener@gmail.com>
Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>

Conflicts:
	drivers/misc/Makefile

Conflicts:
	drivers/misc/Makefile

Conflicts:
	drivers/misc/Makefile

Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>

Conflicts:
	drivers/misc/Makefile
Update Defconfig

Signed-off-by: TomorrowLandAce <joaolrpaulo@gmail.com>