msm: camera: Add mechanism to stop overflow recovery and handle IOMMU pagefault

CRs-Fixed: 491200

Change-Id: Ic148007e9402862060c3f4b6d7cc8f2b5c77ad9f
Signed-off-by: Roja Rani Yarubandi <rojay@codeaurora.org>
msm: msm_fb: Add range checks for fb cmap.

Add appropriate range checks to ensure valid access
through framebuffer cmap. This prevents illegal
access into memory.

Change-Id: I9e82a27a2d12f31d8150ea577514576824f8b1f5
Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
msm:camera: Increase the v4l2 event queue length

Observed missing of v4l2 events to userspace media controller,
this can happen if media controller is blocked in post processing
the frames. Hence increasing the queue length gives enough time
to accomodate all the events without being overwritten with
newer events.

Change-Id: Ic3b5fd29df8c6384e83312b9c9ffd788bdf60951
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
msm: camera: Send VFE_REG_UPDATE_CMD while enabling liveshot.

Sometimes, especially with YUV sensors, snapshot frame is
not received in time when liveshot is triggered.

CRs-Fixed: 501466
Change-Id: Ib92929ebe82eadb92492d899b2077832fab02842

Signed-off-by: Sai Kumar Sanagavarapu <ssanagav@codeaurora.org>
power: pm8921-bms: Fix variable naming

The max_fcc_learning_cycles variable actually indicates
the minimum number of FCC cycles required to update a new FCC,
name it accordingly.

Change-Id: I510d3a05eed736a9ee560c936faa20ed2d3c5bd1
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
power: pm8921-bms: Notify userspace after a new FCC is generated

Any modification to the FCC is reported to the userspace
so that it can take the required action.

Change-Id: I0748218540e89278bbc720ec9de6bdb949e5f162
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
input: synaptics_i2c_rmi4: Register for FB events

Register to recieve FB notifications and do suspend
when the display goes off and resume when it turns
back on.

Change-Id: I5ad02a7080225b724deae06d5443e0f9f8fd6929
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Merge "msm: camera: Add mechanism to stop overflow recovery and handle IOMMU pagefault"
Merge "msm: camera: Send VFE_REG_UPDATE_CMD while enabling liveshot."
Merge "msm: msm_fb: Add range checks for fb cmap."
Merge "msm:camera: Increase the v4l2 event queue length"
Merge "power: pm8921-bms: Fix variable naming"
Merge "power: pm8921-bms: Notify userspace after a new FCC is generated"
Merge "input: synaptics_i2c_rmi4: Register for FB events"