audio: Backport from CAF kk_2.7-stable

*Patched for 3.0 kernels

Signed-off-by: Sultanxda <sultanxda@gmail.com>
gpu: msm: Import from CAF kk_2.7-stable

Source tag: AU_LINUX_ANDROID_KK_2.7_RB1.04.04.04.007.067

Signed-off-by: Sultanxda <sultanxda@gmail.com>
gpu: msm: Fix compile errors

Signed-off-by: Sultanxda <sultanxda@gmail.com>
kgsl: Fix GPU freq being set to the max by default (320MHz)

Credit to SebastianFM: https://github.com/SebastianFM/SebastianFM-kernel/commit/831882790c5f09a4c9cf008322777f9aaa65d45b#diff-a20c5be16a95b59d8023e63f9ffa6523R987
gpu: msm: Fix regulator name for 3.0 footswitch drivers

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm: kgsl: Clean-up gpuaddr allocated from kgsl gen_pool

All GPU Mapping which are done using kgsl_mmu_map_global
API, allocates gpu address from kgsl gen_pool. Only calling
kgsl_mmu_unmap for such mappings doesn't free up the gpuaddr
assigned from KGSL gen_pool. This results in Kernel bug when
KGSL gen_pool is destroyed. This changes makes sure that
all KGSL gen_pool GPU address are freed before destroying
kgsl gen_pool.

Change-Id: Iba46f18e7fe4fba661f5fe142f3470f61a31baa0
Signed-off-by: Anshuman Dani <adani@codeaurora.org>
gpu: msm: kgsl: Fix compatibility with old Ion drivers

Thanks to Steve Kondik.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
Sultan*_defconfig: Disable NETFILTER_XT_MATCH_QTAGUID

Fixes reboot when using AdAway to redirect ads to localhost. Bug report and fix from luxkore @ XDA.
Sultan*_defconfig: Set default CPU governor to Performance
cpu_boost: Add functions to enable/disable boosting

Signed-off-by: Sultanxda <sultanxda@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>
Sultan*_defconfig: v1.4.0