Camera: enable TARGET_NEED_CAMERA_ZSL

Change-Id: Ifcb18dc9cf9238aa53627edb886d8cc3f206a630
camera: disable autofocus

Change-Id: I237029a4971510689fa4830a6d3ec34eb12c5286

Conflicts:
	BoardConfigCommon.mk
d2-common: tweak fstab

Some boot hangs on d2 have been traced to poor cache performance.
Increase performance by enabling journal_async_commit,noatime, and
noauto_da_alloc. Also remove duplicate definition of /cache in
init.target.rc.

Change-Id: Ic9508cc047256776910160fb9ca1cb2cda183c67

Conflicts:
	rootdir/etc/fstab.qcom
more cache tweaks

Startup hangs continue unabated. Kill filesystem check on cache on
startup, but increase protections against corruption.

Change-Id: I2ef289d3041ae5e0b9b05a15b567ff1d2add1ece
init.qcom.rc: Remove /data/system/wpa_supplicant, fixes WiFi on upgrades

libhardware_legacy's wifi_connect_to_supplicant checks if (the symlink)
/data/system/wpa_supplicant exists, and if so, assumes it points to a
directory containing the wpa_supplicant control socket.  This is _not_ the
location of the wpa_supplicant control socket on d2/jf, and so, the symlink
should not exist.

CM 10.2's init.qcom.rc creates the /data/system/wpa_supplicant symlink,
with /data/misc/wifi/wpa_supplicant as its target.  However, it does not
create the target directory itself, so the wifi_connect_to_supplicant check
(correctly) fails.

CM 11.0 does create the /data/misc/wifi/wpa_supplicant directory, but not
the corresponding /data/system/wpa_supplicant symlink.  So the
wifi_connect_to_supplicant check also fails.  However, as the symlink
already exists on 10.2 upgrades, the check passes, resulting in
wpa_supplicant attempting to use the non-existant
/data/system/wpa_supplicant/wlan0 control socket.  Thus, the
/data/system/wpa_supplicant symlink needs to be removed to ensure that WiFi
on upgrade installs functions corectly.

Change-Id: Ifd49fa31706f9c09594eb8c45a726f0e6abef252

Conflicts:
	rootdir/etc/init.qcom.rc
d2-common: camera: Add flag to disable face detection

Change-Id: I5b07c46b75890e929da57fb16e293b9a95b3e177