Makefile: *minor adjustments*
fixing/silencing GCC warnings

Signed-off-by: moddingg33k <moddingg33k@t-online.de>
kernel/module.c: *HACK*: enforce loading of ar6000.ko & cfg80211.ko

...no matter which source they came from

(currently this does the trick for being able to use pre-built ATH6KL wifi modules)

Signed-off-by: moddingg33k <moddingg33k@t-online.de>
drivers/bluetooth: ADD Kconfig entries for BTLA & BLUEZ
acpuclock-7627: fixing table selection in select_freq_plan()

In 'select_freq_plan()' there's a special check to select
the correct table for 1008 Mhz CPU's, because of an conflict
between MSM-7627AA and MSM-8625 boards.

However this check is wrong:

	if (pll_mhz[ACPU_PLL_2] == 245)

...should be:

	if (pll_mhz[ACPU_PLL_1] == 245)

We don't want to check PLL_2 but PLL_1 being '245' or not.

Due of this bug the wrong frequency table is getting selected
for 1 GHz MSM-8625 CPUs with "PLL_2=245".

Previously-detected-by: Peter Jung <peter.jung@lge.com>
Signed-off-by: moddingg33k <moddingg33k@t-online.de>
acpuclock-7627: enable 61.4 MHz & 122.8 MHz

Signed-off-by: moddingg33k <moddingg33k@t-online.de>
devices-msm7x27a: increase 'max_speed_delta_khz' for MSM8625

Signed-off-by: moddingg33k <moddingg33k@t-online.de>
FIX "block: separate out blk_rq_merge_ok() and blk_try_merge() from elevator functions"

CAF did apply following patches:

2012-02-08: "block: separate out blk_rq_merge_ok() and blk_try_merge() from elevator functions" (https://www.codeaurora.org/cgit/quic/la/kernel/msm/commit/block/elevator.c?h=msm-3.4&id=050c8ea80e3e90019d9e981c6a117ef614e882ed)

After that they applied:

2012-05-24: "block: ioctl support for sanitize in eMMC 4.5" (https://www.codeaurora.org/cgit/quic/la/kernel/msm/commit/block/elevator.c?h=msm-3.4&id=73937f5face75e05ec2a72966d04f4e20aa18379)
(this commit if faulty already after the commit from 2012-02-08!)

And then they merged:

2012-06-07: "Merge commit 'AU_LINUX_ANDROID_ICS.04.00.04.00.126' into msm-3.4" (https://www.codeaurora.org/cgit/quic/la/kernel/msm/commit/block/elevator.c?h=msm-3.4&id=f132c6cf77251e011e1dad0ec88c0b1fda16d5aa)
(this totally screwed the patch from 2012-02-08)

Now it's fixed and like it's supposed like :-)

Signed-off-by: moddingg33k <moddingg33k@t-online.de>
FIX "msm: rpc: Release spinlock irqsave before blocking operation"

This commit replaces Huawei's bugfix against Qualcomm's:

	Registering the platfrom device is a blocking operation,
	release spinlock irqsave before device registration.

	CRs-Fixed: 423256
	Change-Id: I64b11eaf9dbad2e0e92db271887cda77d1823c3b
	Signed-off-by: Zaheerulla Meer <zmeer@codeaurora.org>
	Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>

Signed-off-by: moddingg33k <moddingg33k@t-online.de>
FIX "mmc: msm_sdcc: check for pending_resume in SDCC system suspend"

This replaces Huawei's bugfix against Qualcomm's:

	If system comes out of suspend, msmsdcc_pm_resume() sets the
	host->pending_resume flag if the SDCC wasn't runtime suspended.
	Now if the system again goes to suspend without any SDCC activity
	then host->pending_resume flag will remain set which may cause the SDCC
	resume to happen first and then suspend.

	To avoid this unnecessary resume/suspend, make sure that pending_resume
	flag is cleared before calling the msmsdcc_runtime_suspend().

	CRs-Fixed: 438081
	Change-Id: I2b667bec704f938a532d4780dd9b7937e2eb12c7
	Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>

Signed-off-by: moddingg33k <moddingg33k@t-online.de>
drivers: usb/core: compatibility fix for CONFIG_USB_OTG

This fixes an older Qualcomm commit.

Between Linux 3.3 & 3.4 the function (do_unbind_rebind()) got changed
to (unbind_no_pm_drivers_interfaces())

Signed-off-by: moddingg33k <moddingg33k@t-online.de>
ext4: revert Huawei changes to ialloc

This is causing disasters in 4.3 and especially while SELinux
is enabled. System files are getting deleted and data is getting
remounted as read only. It seems to be the same files getting
deleted every time, common examples are:
- /system/app/Phonesky.apk (!)
- /system/media/bootanimation.zip (uses AOSP animation instead)
- /system/media/video/
- /system/wifi/ (!)

This is also present in the 3.0.8 kernel, but I'm not really
sure why it was changed in the first place - system remounting
seems to be working fine for me...

Not sure if recoveries will need to be rebuilt with this.
base/core.c: remove huawei debug code
kernel/exit.c: remove Huawei kernel log spam

Signed-off-by: moddingg33k <moddingg33k@t-online.de>
ARM: kernel/traps: fix #ifdef condition of HUAWEI

...in case DEBUG_USER is not enabled
lib/genalloc.c: revert Huawei KGSL 'fix'

Signed-off-by: moddingg33k <moddingg33k@t-online.de>
msm: RMNET: disable a HUAWEI customization
scripts: revert build host masking

Signed-off-by: moddingg33k <moddingg33k@t-online.de>
mmc/host: remove duplicate entry for 'MMC_MSM'
cpufreq: conservative: bypass SAMPLING_TIME determination on ARM platforms

This commit introduces MIN_SAMPLING_RATE & DEF_SAMPLING_RATE
which are used to directly set the driver's minimum and default
sampling rate rather than doing any calculation before, which
doesn't work on ARM.

Signed-off-by: moddingg33k <moddingg33k@t-online.de>