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>
input: misc: Kconfig: Fix misplaced endif

This patch fixes the misplaced endif that could cause some misc input
drivers not being listed when running the kernel configurator.

CRs-Fixed: 663748
Change-Id: I31cb24bd3fa5559b197bc227789c325edda736b0
Signed-off-by: Sahil Kataria <sahilk@codeaurora.org>
msm: mdss: Move histogram completion initialization to pp_init

The histogram completion structure only needs to be initialized fully
once, and this can be done when the pp resource structure is created.
Otherwise, when enabling the histograms, it is sufficient to use the
reusable INIT_COMPLETION, in order to avoid any wait_queue errors.

Change-Id: Id4bfb19c91bd5ab07c01a5eb347ba50621fe8a97
Signed-off-by: Benet Clark <benetc@codeaurora.org>
Signed-off-by: Krishna Chaitanya Parimi <cparimi@codeaurora.org>
msm: camera: Fix various small issues in Actuator driver

Bound check and validate userspace parameters direction,
number of steps and direction sign. Also fix possible
memory leak in certain error cases.

CRs-Fixed: 511349
Change-Id: Icaa324468574494fb40f2de78e522090806744cb
Signed-off-by: Yiduo Wang <yiduow@codeaurora.org>
Merge "msm: camera: Fix various small issues in Actuator driver"
Merge "msm-camera: Adding lock and unlock methods for ISP subdev"
Merge "msm: mdss: Move histogram completion initialization to pp_init"
Merge "input: misc: Kconfig: Fix misplaced endif"
Merge "Merge "input: misc: Kconfig: Fix misplaced endif""
Merge 6ecccc5b0b73b07551ce2c98f549310c358dbbef on remote branch

Change-Id: I599ed02359de28bfdb84f95126f85b523571cbfc
Merge "Merge 6ecccc5b0b73b07551ce2c98f549310c358dbbef on remote branch"