Revert "msm: camera: Add media device node"

This reverts commit ce344b4396695322e1076eac053277fd3c6fc2b2.
Revert "msm: camera: add ion dev fd field to frame structure."

This reverts commit d9a39a2eda9957b160aa56dfc2b82d9891352f04.
msm: camera: Not allocate memory for the buffer done event.

Unnecessary code cleaned.

Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>
(cherry picked from commit a236290fa341c3bd10ffd7295e65eceb600f5b6c)

Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>
(cherry picked from commit 269fd3713401028c4db9e21ddf615a59a92c1f31)

Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>
(cherry picked from commit 07d49ca235577e2c35f3f52c620eb07a9a209405)

Change-Id: Iac57aec7aaf92d241c90dc4f5407f224991b3bf5
Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>
msm: fix vfe stop sequence.

Fix sequence of register writes during vfe stop. The interrupts
need to be disabled before CAMIF is stopped and AXI
needs to be halted. This ensures that there are no spurious
interrupts.

Change-Id: I3a6813d6cdd2f722fd72b3654fd66fe9721310c8
Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
Signed-off-by: Roja Rani Yarubandi <rojay@codeaurora.org>
msm: fix for HDR with vfe31.

On vfe31, we don't get update ack irqs for the frames that are
going to be dropped via the frame skip module. Hence, the snapshot
count decrement logic needs to move to the SOF irq handler to
maintain sanity when taking multiple snapshots in HDR.

Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
(cherry picked from commit 227ff128d23fc0f509801562637500744ec03d3b)

Change-Id: Ifd87fbdf046fd633a59e908dfe363dc3f0e6e270
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
Signed-off-by: Roja Rani Yarubandi <rojay@codeaurora.org>
Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
Revert "IKHSS7-41365: Synchronize VFE starts/stops to prevent kernel panics"

This reverts commit 1e785c54e4cb8aaf789cab84b19eefd2169dfc31.
msm: camera: stop VPE cleanly when mediaserver crashes.

When mediaserver process crashes, we should disable the VPE first
and then unmap the base register address. Otherwise, subsequent
io reads and writes will cause a kernel fault.

Change-Id: Id4432867039ace5e4483d528e1e48f0cc4b0dce8
Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
Import motorola changes from JB source for XT925

Change-Id: I08e454f452d073683d500d2a1bb3c808ad31899a