FIX: Fixed Netflix video issue

Conflicts:

	drivers/video/msm/vidc/720p/ddl/vcd_ddl_errors.c
	drivers/video/msm/vidc/720p/ddl/vcd_ddl_properties.c
	drivers/video/msm/vidc/common/dec/vdec.c
[PATCH] ADD: Bluetooth code from 3.0rc6 kernel (by Imoseyon)

Conflicts:

	drivers/bluetooth/hci_ldisc.c
ADD: new WORKQUE code from 36.1 and rest of kernel patched dangerously by Imoseyon

Conflicts:

	drivers/video/msm/msm_fb.c
	kernel/workqueue.c
New jerl92 defconfig
update defconfig
change local version name
binder: Update to version from msm 3.0 kernel
ADD: CPUIDLE code from 3.0rc6 kernel (by Imoseyon)
ADD: CPUFREQ code from 3.4 ics_chocolate
msm: rpc: free the buffer if read fails

In do_read_data(), while reading a data fragment, if
read() fails to read all the required bytes, free the fragment
buffer.  Also correct the allocation size for fragment buffer.

cherry-picked and adapted for DHD from:
https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commitdiff;h=449bec7d0dd444fe8481677022ca2a0e23ba3ed8
ARM: msm: only create rpcrouter pdev once

Change-Id: I1e3bebe50c93eb4c4874d35d1c87ebafa4f88af5
Signed-off-by: Dima Zavin <dima@android.com>
msm: rpc: remove unused variable

In __msm_rpc_read() variable __wait is not used.
 Remove it.

Change-Id: I27ca763bb35180d75b3de10462c14548c9f860dd
CRs-Fixed: 262799
Signed-off-by: Niranjana Vishwanathapura <nvishwan@codeaurora.org>

Cherry-picked from:
https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commitdiff;h=2e58d7c92bc942392fc45ebb325b1d128ce7ba08
msm: rpc: Remove timeout in client's read thread

Remove the timeout while waiting in client's read thread
which causes unnecessary wakeups and results in increased
power consumption. While closing a client, wakeup the
read wait so that the read thread gets closed properly.

Change-Id: Ib77d723d26c5e2d560038d2be34ac352bc97aa38
CRs-Fixed: 255989
Signed-off-by: Niranjana Vishwanathapura <nvishwan@codeaurora.org>

Cherry-picked and adapted for DHD from:
https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commitdiff;h=001fa8892ffd5dbb286f5c03c011a9e415f8e2b1
base: genlock: allow synchronization with a single gralloc handle

In order to support synchronization in a process with a single
gralloc handle we require the ability to write lock a buffer
while it is already read locked by the same handle. This change
extends the concept of an exclusive write lock or recursive read
locks to a genlock handle (rather than the genlock lock).
Genlock cannot provide deadlock protection because the same
handle can be used simultaneously by a producer and consumer.
In practice an error will still be generated when the timeout
expires.

CRs-fixed: 356263

Signed-off-by: Jeff Boody <jboody@codeaurora.org>
(cherry picked from commit 6d9076fe46bcba71986a25cf357e71a4d83958c1)

Change-Id: I5d02591586023f4b622915522e2e038c16c9f2f2
Signed-off-by: Ram Kumar Chakravarthy Chebathini <rcheba@codeaurora.org>
mm: ashmem: Fix arguments to ashmem_shrink

The arguments to shrink functions have changed, update
ashmem_shrink to match.

Change-Id: Id279d22d761a2a7c4965c957960eef804d06cc07
Signed-off-by: Colin Cross <ccross@android.com>
mm: ashmem: fix deadlock when system is low on memory

When system is low on memory, allocating memory while holding the
ashmem_mutex may try to directly reclaim memory. Then ashmem_shrink()
is called in same thread. It will deadlock at acquiring ashmem_mutex.
This change lets ashmem_shrink() return failure if ashmem_mutex is not
available. Memory will be reclaimed from others.

Change-Id: I3b6024d5477d37245f4ebde6d7069fb77af789ee
Signed-off-by: Yuanyuan Zhong <yuanyuan.zhong@gmail.com>
mm: vmscan: verious updates on shrink_slab via newer HTC kernel
mm: vmscan: prevent background aging of anon page in no swap system
ADD: misc FS tweaks
cgroup: speed up access to cgroupfs mounted entries in /proc/mounts