d2: fix continuous auto focus

Otherwise continuous autofocus never comes back after a TTF event or
restart preview (turn screen off and then back on)

Change-Id: I252af8dd87c0e28357729daf3f269d7f95eb5c95
d2-common: dex-opt to cache

Cache partition is ~850 MB. We have the space.

Change-Id: I70e0bda7553b6c2dab4aed97feda8b817a9ef3b9
d2-common: update init

Change-Id: Iae7024f464df56924cbbf0cae2685b1840a6111d
d2-common: enable background scan

and TDLS mode, should do nothing on d2, but useful for the prima targets

Change-Id: I3225473f64b03310bce5a3fee0ea775da9aed8ae
d2-common: fix up modem links

Ensure /firmware is mounted before generating the links

Change-Id: I14f5c1c4418aa6756eea2cd77cb7ab6bcd986d4a
Merge branch 'cm-11.0' into martincz