msm: camera: prevent invalid access through mmap

Disable access to invalid addresses through mmap.
Add appropriate range checks to ensure valid accesses
through framebuffer mmap. This prevents illegal
access into memory.

Change-Id: Ie053d9d8efe951b88f28b020dd9c2356e54723a7
CRs-Fixed: 475794
Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
msm-camera: Added the  NULL check in gemini driver.

Adding NULL check for ionhandle and y_off in gemini driver files.

CRs-Fixed: 504159

Change-Id: I6d20298183bec0c3c2c16088a936ac6f7d307da4
Signed-off-by: Katta Santhisindhu <kattas@codeaurora.org>
ASoC: msm: qdsp6: Fix for EVRC-B/WB vocoder rate

Rate set in userspace for EVRC-B/WB vocoders are not
propagated to DSP. Fix the issue by sending rate command to DSP

Change-Id: I449297404c4a0f826c23dedd2aeebaeef408106b
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
CRs-Fixed: 488084
msm: pil-q6v4: Change modem shutdown sequence

Existed sequence:
	axi_bus_halt(modem)
	pas_shutdown(modem)
	axi_bus_halt(modem_fw)
	pas_shutdown(modem_fw)

With the above sequence some outstanding transactions from Modem FW
when the clock reset happens, will cause a bus hang leading to a system
reset.

Do bus axi port halt for modem SW and modem FW together before making TZ
calls for either modem SW/FW reset. New sequence would be as below.

New sequence:
	axi_bus_halt(modem)
	axi_bus_halt(modem_fw)
	pas_shutdown(modem)
	pas_shutdown(modem_fw)

CR-Fixed: 504698
Change-Id: I40ad1116f96b0d77ee3b6be29f3295cc7ae171a1
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
Merge "msm: pil-q6v4: Change modem shutdown sequence"
Merge "msm: camera: prevent invalid access through mmap"
Merge "msm-camera: Added the  NULL check in gemini driver."
Merge "ASoC: msm: qdsp6: Fix for EVRC-B/WB vocoder rate"