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: kgsl: Add the buffer user address to the debugfs memory list

For each buffer in the debugfs memory list print the address it is
mapped to in the user process.  This is useful for matching up the
user side allocations with what the kernel thinks it has.

Change-Id: Ic0dedbadd07a8f704c0bf73b183aaeeddbbdd129
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
msm: kgsl: use %pK to restrict printing GPU / memory addresses

Use %pK in the output for the per-process memory dump to keep from
printing the GPU and user memory addresses for the GPU memory
objects own by the process.  This allows us to make the 'mem' file
world readable without exposing any really dangerous information.

Change-Id: Ic0dedbad21654110905d1b3744f562966584d8ed
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Sunil Khatri <sunilkh@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>
misc: qfpfuse: Fix overflow condition

Fix potential integer overflow for ioctl command to avoid incorrect
buffer allocation. Use the stack for data buffering to avoid the
small buffer allocation for improved performance. Increase the fuse
blow timeout in the driver to cover all QFPROM implementations

CRs-Fixed: 550574,550575

Change-Id: Iee3cc1d38aa5dbf8ef693a43a0ca716fc8724c62
Acked-by: Radhakrishna Popuri <c_rpopur@qti.qualcomm.com>
Signed-off-by: Venkatesh Yadav Abbarapu <quicvenkat@codeaurora.org>
Signed-off-by: Prados Das <prados@codeaurora.org>
misc: qfpfuse: validate ioctl input parameters

validate input parameters for ioctl command request

CRs-Fixed: 550574,550575
Change-Id: I87c3818b3bacc43c679aa555d79cc6ed127c6ef8
Acked-by: John Nicholas <jnichola@qti.qualcomm.com>
Signed-off-by: Venkatesh Yadav Abbarapu <quicvenkat@codeaurora.org>
Signed-off-by: Prados Das <prados@codeaurora.org>
Merge "Merge "ASoC: msm: Null dereference check added""
Merge "Merge "Merge "ASoC: msm: Null dereference check added"""
Merge "misc: qfpfuse: Fix overflow condition"
Merge "misc: qfpfuse: validate ioctl input parameters"
Merge "Merge "ASoC: msm: Null dereference check added""
Merge "Merge "Merge "ASoC: msm: Null dereference check added"""
Merge "Merge "misc: qfpfuse: validate ioctl input parameters""
diag: Remove error message

Some diag messages are marked as error messages which should
be marked as debug. This patch fixes that issue.

Change-Id: If24b6cfdfca40321ff403826d8c149e8a3032803
Signed-off-by: Katish Paran <kparan@codeaurora.org>
Merge "Merge "Merge "misc: qfpfuse: validate ioctl input parameters"""
Merge "Merge "misc: qfpfuse: validate ioctl input parameters""
Merge "Merge "Merge "misc: qfpfuse: validate ioctl input parameters"""
Merge "msm: wfd: Free ion memory properly during a ion failure"