Revert "Fix Camera preview"

This reverts commit d460ed33286dd88249599dd58caa4697a85bc777.
Revert "add second half of camera fix from https://github.com/invisiblek/linux-msm-d2/commit/c14d261cd064c19dc8d06e"

This reverts commit a06a7a1f6b0a04866c4dbeb8e71431a520100add.
Linux 3.0.74

Change-Id: I96725eda0980fe52cf01a33a5e5a58afb3b907b7
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
Linux 3.0.75

Change-Id: I3cd079ed9682afccbf531985104a30491950db98
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
Linux 3.0.76

Change-Id: If9b9086bea2d18a9eccfbf7a7746f4f346e6b0e9
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
Linux 3.0.77

Change-Id: Ib845362279e955a3d25238f18a08eb726021ece8
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>

Conflicts:
	fs/ext4/Kconfig
Linux 3.0.78

Change-Id: If1da0ebbd6204ab5aca9c78d73084bbd489f274b
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
Linux 3.0.79

Change-Id: Ia22a1da59589de392215a7bf6df600fbd86d6ca8
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
Linux 3.0.80

Change-Id: I425612057d851cd6ce6a92c59f784e438a446033
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
Revert "Revert "video: msm: Remove timeout from wait4vsync""

This reverts commit e2e032126c116715af77a14b9107b0fd263c0f63.
msm: restart: Always send Samsung magic reset reason

 * Builds with SEC_DEBUG disabled were getting stuck in recovery because
   the bootloader needs a magic reset reason.

Change-Id: I2397feb9fe73179bc37953721db212adc4e8a6eb
video: msm: Check for null in LCDC IRQ handler

Change-Id: I47edb06b281f43ea898e06b6951a305a16852b94
video: msm: Call complete_all if vsync times out for LCDC

 * If vsync times out, we need to call complete_all otherwise the wait
   count goes to zero and we are stuck forever.
 * Should hopefully fix the hangs and crashes.

Change-Id: Ia6673b3307251ab3ca1750d65e8c721c5c2dce5f
msm_fb: display: add an extra write of 0 to clear dsi-ack-err bit

In addition to writing 1 to clear dsi-ack-err bit, an extra write of 0
is also need to clear error bit completely.

CRs-fixed: 478443
Change-Id: Id4c3e2a5a29534d65601999d3bbf9f30ebc73896
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
msm_fb: Remove the extra freelist in display_commit

There is an extra freelist call to unmap IOMMU source buffers
in display_commit for LCDC interface. This is causing IOMMU
page faults during boot up on targets with LCDC interfaces.
Remove this extra freelist call.

Change-Id: I12a905efc82c5b9751acbc5941a66d0b58027509
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
msm_fb: display: fix the hang issue caused by solidfill pipe

When mdp pipe solidfill mode is disabled, the staled pipe info is used
to update mdp pipe regs. This caused mdp hang. Since
mdp4_overlay_rgb_setup function already resets solidfill mode, this
patch removes any pipe register updates that are related to disabling
solidfill mode.

CRs-fixed: 467555
Change-Id: I23f4b29731c9097ab0cc38baa00cd35bc536d2ba
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
msm_fb: Fix adb shell start/stop issue when bypass enabled

Currently when 2/3/4 layer bypass is enabled, doing a adb shell
stop/start is failing overlay and composition happens through
GPU. Fix this issue by proper overlay configuration during this
scenario.

Change-Id: Ia04f1839bf80ed552671e48445af63a4dcd6bdfd
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
msm_fb: display: add mfd null pointer and mfd panel_power_on checks

These checks are necessary for the situations where display is off but
vsync ctrl enable or disable is still called.

CRs-Fixed: 462586
Change-Id: I2ee43ff323da38359f3bff28669df19b87d8343d
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>