Revert "camera: Fix loss of focus mode between shots"

This reverts commit 40279ba1fd2d4f02d889699df1eccf3d3a01df55.

V4L2_CID_CAMERA_FOCUS_MODE has the side effect of resetting the
sensor AF position. Hence, the focus is lost each time SetParameters
is called and this happens during a snapshot resulting in out of
focus pictures.

Change-Id: Ia644b62e3752196c0637053150af7899155d6a47

Patchset: 2
http://review.cyanogenmod.org/#/c/57294/
(cherry picked from commit 0b803e8577c51169d8f9ad631a55c039abb8c50e)
smdk4412-common: camera: implement CAMERA_MSG_FOCUS_MOVE to report CAF

Since we are querying the status of CAF in real time, implement
CAMERA_MSG_FOCUS_MOVE to report the CAF status.

Also monitor the state of AutoFocus and report success or failure
only when AutoFocus has started. This prevents reporting false
AutoFocus status which relates to the previous AutoFocus result.

Change-Id: Icb151dca150f932b42b276c45ec392e3dae413cc

Patchset: 3
http://review.cyanogenmod.org/#/c/57293/
(cherry picked from commit cbe03b5133784adebfe40c3d41e24012b82ba7d2)
Revert "Revert "smdk4412-common: camera: include support for face detection""

This reverts commit 914c222940ac651dcfb831bab3cbcdfb6fee9e42.

(cherry picked from commit dbfd9698bb554746b426b4ff60ab898c8914cd29)