diag: Reduce error message frequency

Some diag error messages are printed with high frequency. This
cause flooding of kernel logs. Rate limiting these messages will
help reading kernel logs.

Change-Id: I477ff2394116603a27d65948a60d3460c32572d1
CRs-fixed: 594186
Signed-off-by: Katish Paran <kparan@codeaurora.org>
msm: msm_bus: Suspected fix for deadlock

mutex is not released while checking for
null pdata which can lead to possible deadlock
condition.

Change-Id: I1dc3efd725df5bb75c96434a81d9a8f3f868cd0a
Signed-off-by: Alok Chauhan <alokc@codeaurora.org>
ramdisk: modify service contexts file for profile
msm: kgsl: enable CPU IRQ while suspending context

Make sure that CPU interrupt is enabled before calling adreno
suspend_context when moving from NAP/SLEEP to SLUMBER state.
We send commands to GPU in adreno_drawctxt_switch() which will generate
GPU interrupt. Since CPU interrupt is not enabled, adreno_idle() will
fail because pending interrupt will not be served by CPU this causes
false GPU hang.

CRs-Fixed: 547813

Change-Id: Ia4b730b8f8cda1e820f571ffb7ddb00336ca1a8c
Signed-off-by: Gaurav Gagrani <ggagrani@codeaurora.org>
cpufreq: cpu-boost: allow enable/disable via sysfs
ramdisk: disable cpu-boost at init
ramdisk: disable cpu-boost after init
cpufreq: ondemand: disable cpu-boost when switched to ondemand

* ondemand and cpu-boost don't play nice together
cpufreq: interactiveX: create a matching sysfs group for interactiveX

Some apps (like Kernel Tweaker) follows the governor name for sysfs
nodes. I could not figure out a way to symlink it to interactive (todo
later).
mmc: core: Expose use_spi_crc module parameter in sysfs
ramdisk: lkconfig: initial check-in
build script: fix some permissions for ramdisk
ramdisk: keep cpu boost enabled during boot - let users disable

* via lkconfig or something else
gpu: msm: for higher priority you want to use nice level of -7

* not 7 which has an opposite effect.  I'm sure this was a CAF
mistake.

* thanks to myfluxi for spotting this
ramdisk: set ownership for charging LED
LCD_KCAL Color Control for shamu

sysfs nodes:
/sys/devices/platform/kcal_ctrl.0/kcal
/sys/devices/platform/kcal_ctrl.0/kcal_ctrl

* Code originally from LG Mako, ported by flar2 for shamu (thanks)
* fixed up a tiny bit
lkconfig: added charging led and RGB control options
ramdisk: minor starting governor fix

* this is not necessary due to 3a6afd3 but doesn't hurt
ramdisk: lkconfig: minor change to show default values for rgb