msm: camera: Fix camera crash in msm_open_config

Add proper check before accessing mctl handle to
avoid camera crash.

Change-Id: I1413f086ab7d94fe223a814bb16867d1dcc0a4bf
CRs-Fixed: 481757
Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
msm: camera: Add NULL pointer check for regulator

To avoid potential crashes, Null pointer check is added
before regulator calls are made

CRs-Fixed: 478027
Change-Id: Icf366c42b4dce544c133d6a6815068a37354ff4c
Signed-off-by: Alok Kediya <kediya@codeaurora.org>
msm: camera: Add state check for sensor power up & down

Sensor state check added to avoid incorrect power up &
power down calls.

CRs-Fixed: 478027

Change-Id: I278e8be1e346f93fa410b38086388f08c4f6ae31
Signed-off-by: Aditya Jonnalagadda <ajonnala@codeaurora.org>
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>
Merge "msm: camera: Add NULL pointer check for regulator"
Merge "msm: camera: Fix camera crash in msm_open_config"
Merge "msm: camera: Add state check for sensor power up & down"
Merge "msm: camera: Add mechanism to stop overflow recovery and handle IOMMU pagefault"