ASoc: msm: qdsp6v2: Fix for NULL check

- Required check added for NULL pointer

Change-Id: I204dddb37048ba410381e46c0e906d0390951dd9
CRs-fixed: 583939
Signed-off-by: Mohammad Johny Shaik <mjshai@codeaurora.org>
msm: wfd: Free ion memory properly during a ion failure

This change takes care of freeing allocated ion memory
properly which avoids unnecessary memory leaks.

CRs-Fixed: 627325
Change-Id: Icbbb1f2c8f8b02541a38aedd0066c7b079b144fb
Signed-off-by: Deepak Verma <dverma@codeaurora.org>
kernel:Dont set stop_issued flag in stop recording

stop_issued flag should not be set
to TRUE during stop recording and liveshot.

CRs-Fixed: 629368

Change-Id: Ibf57a4e72e48ad1ce9821415ebf6de01fd881e64
Signed-off-by: Raghu DP <dp.raghu@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>
Merge "msm: wfd: Free ion memory properly during a ion failure"
Merge "msm_fb: Register frame buffer device for device shutdown"
Merge "kernel:Dont set stop_issued flag in stop recording"
Merge "Merge "misc: qfpfuse: validate ioctl input parameters""
Merge "Merge "Merge "misc: qfpfuse: validate ioctl input parameters"""
Merge "Merge "kernel:Dont set stop_issued flag in stop recording""
Merge "Merge "Merge "kernel:Dont set stop_issued flag in stop recording"""
Merge "Merge "kernel:Dont set stop_issued flag in stop recording""
Merge "Merge "Merge "kernel:Dont set stop_issued flag in stop recording"""
msm: kgsl: Fix Z180 memory leak

Decerement entry refcount, which incremented
in kgsl_sharedmem_find_region.

CRs-Fixed: 635747
Change-Id: I621ba8f8e119a9ab8ba5455b28a565e3cae2f7cd
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
msm: kgsl: fix a race condition when calling kref_put

Fix a race condition which can occur if a thread tries to acquire
a reference to a mem_entry or context while another thread has
already decremented the refcount to 0 and is in the process of
destroying said mem_entry or context.

CRs-Fixed: 635747
Change-Id: I6be64ca75f9cb12b03e870b9ca83588197c64e5e
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
Merge "msm: kgsl: Fix Z180 memory leak"
defconfig: msm8960: Enable CONFIG_NL80211_TESTMODE in perf config

Enable parameter CONFIG_NL80211_TESTMODE in the perf configuration
file to enable test mode.

Change-Id: Ib395f5e7ab2250dd48794e89d327098edfb4653d
CRs-fixed: 639658
Signed-off-by: Dasari Srinivas <dasaris@codeaurora.org>
Merge "msm: kgsl: fix a race condition when calling kref_put"
Merge "Merge "msm: kgsl: Fix Z180 memory leak""
Merge "Merge "Merge "msm: kgsl: Fix Z180 memory leak"""