Revert "msm: camera: restore Sony 10.1.1.A.1.253 camera driver"

This reverts commit 5a867d8dd8fa830a017c42d3c4053959b6db62bc.

Change-Id: If79c7c2caf7b61b7d770879b3bc8f33424cd6b85
Revert "ion: ioctl compat with old api"

This reverts commit 857b0f1ce46efbaf214cc7615f0a81f0a544cbe0.

Change-Id: Ia9acc97bc2c7cb6183f9704c1d382f204e5cd040
msm: camera: Add NULL pointer check for regulator

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

Change-Id: I3c745ff0600971d07d10b7a537e6f2375a2bf4ab
Signed-off-by: Aditya Jonnalagadda <ajonnala@codeaurora.org>
msm: camera: Fix event queue drain issue

when camera daemon is killed, then command processing
timeout happens and there is a possibility of pending
event payload data. It creates a problem for further
command processing due to mismatch of event ids.
Drain the event payload queue when there is a timeout
for any event.

Change-Id: I046baf5ecc8abc8e795f96f8a1701da5c8506b88
CRs-Fixed: 467053
Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
msm: camera: Release mutex lock in case of failure

Release mutex lock in camera driver in case of a
failure.

Change-Id: Idc7de63b320df69754ad26fa9ae9639a08c96fc4
Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>