tp4g_defconfig:  put SELINUX in permissive for now

Change-Id: I745676ac0a4f8ee44f6142d8b0715e7a3a6d44cb
tp4g:  Disable ondemand gov for now

Change-Id: Ic9efcd1cf0005dec0786acc687b796f2b3be79b6
tenderloin usb: fix release of wakelock

The msm_otg wakelock can get 'stuck' in some cases. In particular,
when Touchpad is placed on Touchstone charger when the Touchpad
is in deep-sleep. This should allow for proper release of the
msm_otg wakelock in that and similar cases.
max8903b_charger: fix return val for invalid currentlimit store
audio: bring back icodec rx idlelock hold hack

holds a idlelock while icodec rx (audio_out) is
active to ensure no q6 watchdogs bites happen in
suspend. This allows us to reenable power collapse
for core 0. This is a port from 3.0 kernel as 3.4
uses pm_qos_update_request.

Change-Id: Ic456ea1a97602a9d044ed4f80bc785a934263bfc
msm: msm_fb: set dma pan info when continuous splash is enabled.

Enable vsync_enable flag when continous splash is present. This is
needed to program Tearcheck params for command mode panels.

Change-Id: Ia704b9076628e20a308fbac6f202fa7d20f5f966
Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
msm: msm_fb: Handle out of order msm_fb ioctls

Handle two cases when ioctls are received when they are not expected.
 - Writeback ioctls received when writeback (FB2) is not active.
 - Writeback ioctls received in random sequence when writeback (FB2)
   is active.

Change-Id: I54982e1aef09fd9c7df9354a139ac34219017951
Signed-off-by: Nirmal Abraham <nabrah@codeaurora.org>
msm: display: clear sec_active when the pipe is not for secure

Make sure secure memory is unmapped properly

Change-Id: Ie0f2bc586ab4de45ceaaa6834db64ba7b94b2c0b
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Signed-off-by: c_hharis <hharis@codeaurora.org>
Signed-off-by: Nirmal Abraham <nabrah@codeaurora.org>
msm_fb: Register frame buffer device for device shutdown

Many display panels have a requirement of executing panel-off
commands when the device goes to shutdown. Hence, register frame
buffer device for device shutdown so that the panel-off commands
can be executed successfully.

Change-Id: If39a93247542f5bbee8b0c4d1df1aab13270aa06
Signed-off-by: raghavendra ambadas <rambad@codeaurora.org>
msm: vidc: estimate min_dpb for smooth streaming mode

In case of smoothstreaming:
[1] get dpb requirement for the firmware
[2] get count in resource resource tracker
Use higher of the above

b/10192531

Signed-off-by: Deepak Verma <dverma@codeaurora.org>
Signed-off-by: Praveen Chavan <pchavan@codeaurora.org>
msm: vidc: Use min_dpb from resource tracker in smooth streaming mode

Get min_dpb from resource tracker always if smooth streaming
mode is enabled to handle number of output buffers properly.

Change-Id: Ic46f76061f3895fda44e1d8e94198f898e5edf9b
Signed-off-by: Deepak Verma <dverma@codeaurora.org>

Conflicts:
	drivers/video/msm/vidc/1080p/ddl/vcd_ddl_properties.c
msm: vidc: Fix various NULL pointer accesses, memory leaks

This commit fixes various NULL pointer and memory leak bugs.

Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

Change-Id: I3b3ac40b5e440b9665858913921a06de14741b6f
msm: vidc: Remove all references to CONFIG_ANDROID_PMEM

CONFIG_ANDROID_PMEM is completely deprecated. Remove all
references to it.

Signed-off-by: Laura Abbott <lauraa@codeaurora.org>

Change-Id: I7d5f853f721689f29d41fa380d4b7a99eaaa9595
PORTED: Subsystem map api is deprecated and will be removed.
It is no longer being used.

Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>

Change-Id: Ib4b7d1e982f4ec634d06c0d895656071e7c10b14
fix L2TP/IP sysfs entry
fbcon suspend/resume blank/unblank fixes
wip: g_hid for keyboard
full 16 colors w/ framebuffer_console
g_hid: add dummy release func to avoid kern warnings
update framebuffer_console color profile