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>
ASoC: msm: qdsp6v2: Fix bug in device V2 command

Add missing braces for Device V2 command failure case.
Crs-fixed: 492994

Change-Id: Ieacbbe94897a4fb73e6ffadc7d1bdcadb2b35dd2
Signed-off-by: Venkat Sudhir <vsudhir@codeaurora.org>
msm: camera: Enable frame based AXI WM for RDI0

Frame based AXI WM configuration for RDI0 path
Also populate sensor type in the device info structure.

Change-Id: Ib6d65cd8cb1e4655c4f67903a8f329962512115e
Signed-off-by: Sai Kumar Sanagavarapu <ssanagav@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"
Merge "ASoC: msm: qdsp6v2: Fix bug in device V2 command"
Merge "msm: camera: Enable frame based AXI WM for RDI0"
msm: rotator: Pass ION flags correctly for 2-pass buffer allocation

With updated ION interface, ION_SECURE needs to be passed as a
separate flag. Also, 2-pass buffer for secure session needs to be
allocated from CP heap instead of non-secure heap.

CRs-fixed: 502038
Change-Id: I8c5f945dc4d90ce640872e2cd0505ac32e82011d
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Merge "msm: rotator: Pass ION flags correctly for 2-pass buffer allocation"