fix usb tethering

Change-Id: Ib40b29f572ba508c1d04d26ff6b2609da81b0701
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
d2: use commonized defconfig

Change-Id: I6b3547c013cc0db584b1fe5de3e2cc183b93f535
bluetooth: disable LPM_COMBINE_SLEEP_MODE_AND_LPM

From hardware/broadcom/libbt/include/bt_vendor_brcm.h:

    In Mode 0, always set byte 7 to 0. In sleep mode 1, device always
    requires permission to sleep between scans / periodic inquiries regardless
    of the setting of this byte. In sleep mode 1, if byte is set, device must
    have "permission" to sleep during the low power modes of sniff, hold, and
    park. If byte is not set, device can sleep without permission during these
    modes. Permission to sleep in Mode 1 is obtained if the BT_WAKE signal is
    not asserted.

Who the fuck turned this on? *looks at invisiblek*

Change-Id: I747db1c1e288c42c3b0b1385f1b2d69fbbbb3edd
gps: turn down logging

* This can be turned back on if needed without having to recompile
  anyway.

Change-Id: Ic4ad6c9a1156eff0b69b565bfdca95902746bf8a