tspdrv: add userspace vibration strength control

	modified:   drivers/motor/tspdrv.c

Change-Id: I5b901b788bb79b569511746d5626a46a04314f4e
HLTE: Android expects SW_LID, not SW_FLIP.

Change-Id: I1f38f1aff1c5f410529ba788fa0980cced44b297
 Always flash wacom fw if current is different to wanted credit to Schischu

Change-Id: Ic56dc0e805ab230cea6815f0f08a8dc9c1702c56
HLTE: Toggle reset of mcu to ensure all devices resume after sleep

  Fixes JIRA CYAN-4607 and CYAN-4229.

Change-Id: I060b2fb178bb24e145e86a56c3c89f316e8748ac
hlte: Fix sensors for real this time.

  Fixes issue of stuck orientation sensor introduced with last patch.
  Maintains the operability of the temp/humidity sensor.

Change-Id: I5f55527b728a2a15345cd2dfc0e01cbda08877ff
hlte: fix merge fail.

Change-Id: I3fe9ea6cf195611a6599485a557cf7544722c4e0
msm: mdss: share fb memory ion fd to userspace

Add new operation request to share ion fd to userspace
for mapping to the frame buffer memory.

Change-Id: I404c73c19e3fffec593ffd32c34e7b1a74a500d8
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
isdbt: Fix the build

 * "make mrproper" failed due to missing files.

Change-Id: I604d3e8fcc029b05a86438b0eb0540ad8fab87aa
msm: kgsl: Protect CP_STATE_DEBUG_INDEX

Put CP_STATE_DEBUG_INDEX and CP_STATE_DEBUG_DATA under protection
to keep it from being written from an IB1. Doing so however opens
up a subtle "feature" in the microcode: memory read opcodes turn off
protected mode in the microcode to do the read and then turns it
back on regardless of the initial state. This is a problem if the
memory read happens while protected mode is turned off and then we
try to access a protected register which then complains and goes boom.

To account for this irregularity explicitly turn back off protected
mode in all the places where we know this will be a problem.

Change-Id: Ic0dedbad1397ca9b80132241ac006560a615e042
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
msm: kgsl: Mark mmapped objects with VM_DONTCOPY

Add VM_DONTCOPY to the default set of mmap flags to keep VM objects
from being copied on fork() and causing issues.  KGSL file descriptors
copied to a child are not expected to be usable.

Change-Id: Ic0dedbad85c07118a931ccb9f7a6fd0507da3e5a
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
msm: kgsl: Cleanup the memory free list

Tighten up the memory free list code and remove the memory unused
debugfs file.  Outside of the cleanup the functional changes are
a) move the mutex to a spinlock for speed, and b) only return the
last entry in the list for given pid/gpu address combination.

Conflicts:
	drivers/gpu/msm/kgsl.c
	drivers/gpu/msm/kgsl.h
	drivers/gpu/msm/kgsl_debugfs.c

Change-Id: Ic0dedbad9595302e2b42de2807fa82c425d1717f
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
msm: kgsl: hold a process_private refcount in process_mem_print

There is a possible race condition where the process can be going
away while its debugfs 'mem' file is being read, which could cause
memory corruption.

Conflicts:

	drivers/gpu/msm/kgsl.c

CRs-Fixed: 627780
Change-Id: I697486faeb3f186fd1220d0acc1e449a4f7b77b0
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
hlte: update bluetooth driver.

  Fixes issues with BT devices causing reboots.
  JIRA CYAN-4725

Change-Id: Ie682d4b77e9618d57b62761da927a19f53768860
Merge Samsung release N9005XXUFNG2 (Update 9)

SM-N9005_KK_Opensource_Update9.zip

 - Properly merge mdss changes
 - Fix previously durped fs/exfat (during Update 8)
 - After batch merging with 'patch -p1',
   all changes were validated with human eyes to remove
   duplicates(e.g. kernel/futex.c)
   and mismatched functions(e.g. sound/soc/soc-dapm.c)

Change-Id: I923889f048b4a0984e73c1eaec79851f6bda7f78
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
intelli_plug: move to its own directory. It's been cross platform for a while

intelli_plug driver has been working on OMAP44xx, TEGRA 3, Exynos and
MSM Krait/Cortex multi-core SOCs.  So it doesn't make sense to patch on a per
SOC basis, move it to its own ARM platform independent folder so patches can
apply to all supported ARM platforms

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

Conflicts:
	arch/arm/mach-msm/Kconfig
	arch/arm/mach-msm/Makefile

Conflicts:
	arch/arm/hotplug/intelli_plug.c
	arch/arm/mach-msm/Kconfig
	arch/arm/mach-msm/Makefile
Update intelliplug to v3.8, @ intelli_plug: older Qualcomm kernel compatibility fixup

All credits to it's creator, faux 123. See https://github.com/faux123/Nexus_5/commits/kk_mr2/arch/arm/hotplug/intelli_plug.c
intelli_plug: refactor stats calculation code to be less intrusive

this is done for those kernels which do not have 100% source code available
and must use existing closed source modules such as wifi drivers

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

Conflicts:
	arch/arm/mach-msm/intelli_plug.c
Intelli_plug: kernel sched/core: add per cpu nr_running stats

Signed-off-by: Paul Reioux <reioux@gmail.com>
Intelliplug on by default
cpufreq: add yankactive governor

Interactive governor with, fow now :

- hispeed_freq defaulting to lower than policy_max (1.73GHz)
- target_loads increased to 95
- min_sampling time reduced to 20ms
- above_hispeed_delay increased to 80ms
- timer_rate increased to 20ms

cpufreq: yankactive: Optimize sync_freq implementation

Don't let frequency drop below sync_freq if either load or
frequency among other cpus is above a certain threshold,
not necessarily both.

Credits : cyanogen