power: qpnp-charger: Add VCHG_LOOP_DBC_BYPASS property

Add a property VCHG_LOOP_DBC_BYPASS in battery power supply. It is used
for enabling/disabling the buck VCHG_LOOP debouncer timer.

Change-Id: If3f1ecb56abe2319e9defb6ef03a83b972632ef4
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Merge "power: qpnp-charger: Add VCHG_LOOP_DBC_BYPASS property"
msm: display: reduce display commit prepare waiting time

Unblock overlay_set, prepare, and buffer sync ioctls when
commit thread finishes hardware programming.
Use wait_for_kickoff nstead of pan_idle for these ioctls.

Change-Id: Iefb6cbc390d2130926fdcb93688b4d92bfb26937
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Signed-off-by: Neti Ravi Kumar <ravineti@codeaurora.org>
Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
msm: display: only release kickoff when no cleanup pipe

If there is some pipe to clean up, need to wait for it to be done to
make sure the pipe can be used for the second cycle and recover
mode can be executed.

Change-Id: Ifb3fdb152bc4bbf367b3d272aa0c88b1a0650c19
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Signed-off-by: Neti Ravi Kumar <ravineti@codeaurora.org>
Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
Merge "msm: display: reduce display commit prepare waiting time"
Merge "msm: display: only release kickoff when no cleanup pipe"
crypto: msm: check potential integer overflow

According to the specification of AEAD, AEAD request crypt length is
not a fixed maximum and associated length is also same. This could
lead to potential integer overflow, thus allocating less memory. So
we need to check potential integer overflow on AEAD request length.

CRs-Fixed: 726872
Change-Id: Ie7708000bfd8c57e2fba8e02230a7ce9cdc9634c
Signed-off-by: William Clark <wclark@codeaurora.org>
qseecom: Check if ce clock is enabled before sending cmd to TZ

Make change to check if ce clock is enabled before sending command
to TZ, then to prevent data aborting if clock is not enabled for
TZ crypto operation.

CRs-Fixed: 726840
Change-Id: I55b5b10ad80e741c39f8cf411f67e6b83887f3bb
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Signed-off-by: William Clark <wclark@codeaurora.org>
qseecom: Enable/disable clock for client if bus scaling is not enabled

To avoid the service failure on a target where bus scaling flag is not
enabled in target device tree file by mistake, make a change to enable/
disable crypto clocks when the client calls to scale up bus bandwidth
and send command even if bus scaling feature is not enabled.

CRs-Fixed: 726840
Change-Id: Ib33a535051b68561bde5ab6a23ad0f02dc27ab13
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
msm-camera: Adding lock and unlock methods for
ISP subdev

Added lock mechanism to lock hardware update
when a sof is received, and ignore any other sof
which is received between the update process

Change-Id: If2013a566be0c45a48bf180aa6e16bd5f03cff3c
Signed-off-by: Megha Tak <mtak@codeaurora.org>
msm-camera: fix issue of isp unlock method

When we invoke isp unlock, it means isp hardware update is just
finished, we should update the "last update frame index" with
current frame id, so that the second hardware update can be avoided
in this frame.

Change-Id: Ib1f9458cba5c93f8d81b8f483f061747450ec3fd
Signed-off-by: ksui <ksui@codeaurora.org>
Signed-off-by: Megha Tak <mtak@codeaurora.org>
Merge "crypto: msm: check potential integer overflow"
Merge "msm-camera: Adding lock and unlock methods for ISP subdev"
Merge "msm-camera: fix issue of isp unlock method"
Merge "qseecom: Check if ce clock is enabled before sending cmd to TZ"
Merge "qseecom: Enable/disable clock for client if bus scaling is not enabled"
Merge f19be32e6733987b3624b148d7f2b8bc92274e0b on remote branch

Change-Id: If0cec7ecf1a4a5e14e3ad81bd13fbc4168895029
Merge "Merge f19be32e6733987b3624b148d7f2b8bc92274e0b on remote branch"