lge_touch_core: Expose jitter/accuracy filters
scripts: setlocalversion: Do not append last commit hash
scripts: setlocalversion: Remove '+'
sweep2wake: Adapt for TricksterMOD and disable s2w
LGE_LCD_KCAL: Remove LG's Color Control driver

Conflicts:
	arch/arm/mach-msm/include/mach/board_lge.h
	arch/arm/mach-msm/lge/board-8974-g2-us.c
	arch/arm/mach-msm/lge/devices_lge.c
	arch/arm/mach-msm/lge/lge_kcal_ctrl.c
	drivers/video/msm/mdss/mdss_mdp_pp.c

Conflicts:
	arch/arm/mach-msm/include/mach/board_lge.h
	arch/arm/mach-msm/lge/board-8974-g2-us.c
	arch/arm/mach-msm/lge/devices_lge.c
	arch/arm/mach-msm/lge/lge_kcal_ctrl.c
	drivers/video/msm/mdss/mdss_mdp_pp.c
LCD_KCAL: Color Control driver for MSM-MDSS devices

Conflicts:
	drivers/video/msm/mdss/mdss_mdp_pp.c
LCD_KCAL: Update COM/KR/CA board variants

Conflicts:
	arch/arm/mach-msm/lge/board-8974-g2-ca.c
	arch/arm/mach-msm/lge/board-8974-g2-com.c
	arch/arm/mach-msm/lge/board-8974-g2-kr.c
Sweep2Dim: Control KCAL values with Sweep2Wake gestures
drivers/mmc: spi CRC configurable

/sys/module/mmc_core/parameters/use_spi_crc
Signed-off-by: renderbroken <zkennedy87@gmail.com>
PM: devfreq: Fix show available freqs

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
PM: devfreq: Adapt devfreq_get_freq_level to cpubw requirements
PM: devfreq: Move governor node to gpufreq

Final path is: /sys/class/devfreq/fdb00000.qcom,kgsl-3d0/gpufreq
Clean depricated INIT_DELAYED_WORK_DEFERRABLE from last files.
Merged part of LMK from my I9100 Kernel.
Added missing OOM control file. for OOM set on screen ON
Android LNK: reduced protected apps / services from Kill to release RAM.

Services are auto start again FRESH without leaking RAM.

so let LNK kill them in case there is no more free RAM!

Also removed minfree_screen_on setting as it's not needed.

On screen OFF, kernel copy lowmem_minfree to lowmem_minfree_screen_on
and then set the lowmem_minfree_screen_off to lowmem_minfree

so when screen will be ON lowmem_minfree_screen_on will push data
to lowmem_minfree table!
Android LMK: Updated with more info about task killed + function mods!

Also impoved skip task kill function to allow kill protected task
if it's reach 100Mb ram usage!
staging: android: lowmemorykiller: select a new task to kill

Under certain circumstances, a process may take time to handle a SIGKILL.
When lowmemkiller is called again shortly after, it would pick the same
process to kill over and over, so that we cann't get free memory for long time.

Solution is to check fatal_signal_pending() on the selected task, and if it's
already pending, select a new task to kill.

Cherry-pick 5e3358093351e5d48e21250e31896b855542f22c
Reviewed-on: http://gerrit.pcs.mot.com/479831

Change-Id: I53445114451ffaba293f3c7174fb0b01ed0d34b6
Signed-off-by: Tianshui Shi <kfp634@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/505410
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Yi-Wei Zhao <gbjc64@motorola.com>
Reviewed-by: Jason Hrycay <jason.hrycay@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
(cherry picked from commit da093001caf06ed2296b4f79c84cc48ce713eac6)
trace: memkill: trace LMK and OOM kills

How to enable tracer:

  # mount -t debugfs nodev /sys/kernel/debug
  # echo 1 > /sys/kernel/debug/tracing/tracing_on
  # echo 1 > /sys/kernel/debug/tracing/events/memkill/enable
  # cat /sys/kernel/debug/tracing/trace

Event format:

  oom_kill: <pid> <comm> <total_vm> <anon_rss> <file_rss> <oom_score_adj> <order> <points> <cached> <freeswap>
  oom_kill_shared: <pid> <comm>
  lmk_kill: <pid> <comm> <selected_oom_adj> <selected_tasksize> <min_adj> <cached> <freeswap>

Change-Id: Ic45e181c62aead9b19d2a40363217f9220896096
Signed-off-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/480746
Reviewed-on: http://gerrit.pcs.mot.com/513174
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jason Hrycay <jason.hrycay@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Thirumarai Selvi S <a16462@motorola.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
Reviewed-by: Christopher Fries <qcf001@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
(cherry picked from commit ef733ddfbb73cd33daf36720fa474ce4c8acb1f7)
trace: allow memkill tracing to be selectively enabled

Change-Id: I8a50d6b121192b0dc94e2a9a0e05246a47045e81
Signed-off-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/482673
Reviewed-on: http://gerrit.pcs.mot.com/513906
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Thirumarai Selvi S <a16462@motorola.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
(cherry picked from commit fd9bd32cd8f005b0d2f6438935fdd0bc9654c938)