d2-common: fix ifeq's for apex/express

Change-Id: I09e8d95a6540fde333df48b7620b9ef67cf25b85
camera: disable autofocus

Change-Id: I237029a4971510689fa4830a6d3ec34eb12c5286
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
Fix mounting of USB OTG

Pulled from HammerHead to fix OTG Mount support in fstab and init.qcom.rc

Change-Id: I300714c7b2413cb3d8fe4e8b438c92f4d0f0000e
more cache tweaks

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

Change-Id: I4f4fc58ad89c3274135fc6d0060d3478b23b7f18
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
Merge "init.qcom.rc: Remove /data/system/wpa_supplicant, fixes WiFi on upgrades" into cm-11.0
d2-common: camera: Add flag to disable face detection

Change-Id: I5b07c46b75890e929da57fb16e293b9a95b3e177
Rename camera blob

Change-Id: I75fecba495221c3d83e9df3107cc7e33ed3dfadb
Merge "d2-common: camera: Add flag to disable face detection" into cm-11.0
d2: add missing ISO 1600 mode

Change-Id: I801d45866b64f5860c1b50479a2ef00c55a8699b
Enable ZSL

Move overlay from Gallery2 to Camera2, and remove all the options except
enable zsl since the rest don't exist (anymore/yet)

Change-Id: I8973e5760cda36d19ff90d4c16ef3c70075c9fe8
d2: camera: delete resolution overlay

It was in the wrong place until today anyway.

Change-Id: I3cd8455af3ac4574c18cd528ddc9425109ee24c7
d2: WiFi is still a module

Change-Id: Ibc18fcb7f4ed42d2cd57482b92423c3e1df4bd62
d2: Enable QCOM flags

Change-Id: Ifee4e4342c4a18e30c1b65579a02140e80c325ba
Merge branch 'cm/cm-11.0'

Conflicts:
	BoardConfigCommon.mk