Update for KOT49H

Change-Id: Ic7790742abc3e90131699d3539c2727f0146da99
Revert "Revert "Revert "Revert "hammerhead: Add support for modem logging""""

This reverts commit 35deeefd40451a584a4ef8df2b47c87c58b8f898.
Revert "hammerhead: Disable subsystem ramdump collection"

This reverts commit 42aaafc30e1d899cdc3a2f30fa952987c9da697a.

Change-Id: I1215143de6b62cc5691dbd6dc1d3d10a7422a987
gps: modify NMEA_PROVIDER to Modem processor

This fixes duplicate NMEA problem observed when NMEA is generated on AP side.

Bug: 12555056

Change-Id: I4431dfa81c4cb407ace6c434e991d5491ab90550
Revert "Revert "hammerhead: Disable subsystem ramdump collection"" [DO NOT MERGE]

This reverts commit 98154d5b1eeddbb8d72d88876b867a921cec6b36.

Disable subsystem ramdump.

Bug: 12486394 

Change-Id: Ia6c3af2260616c6dcf5c8fe2d2d969e7dab1101f
Revert "hammerhead: Add support for modem logging" [DO NOT MERGE]

Modem logging disabled

Bug: 12486394

This reverts commit 62c468c2ec192d99e5f3eaa1b51db96382b7dbd9.

Change-Id: I3edaa52b7d75dc131214837e58ab0134025b62bc
Merge "Revert "Revert "hammerhead: Disable subsystem ramdump collection"" [DO NOT MERGE]" into klp-dev
Merge "Revert "hammerhead: Add support for modem logging" [DO NOT MERGE]" into klp-dev
Change headset mic gain for voice call

Decrease headset mic gain by 8dB for
voice call

Bug: 11660005
Change-Id: I7c3545e21c4de5af3b32454a7228dad223f026e5
hammerhead: Fix invalid input_boost value

Change-Id: Id42606c85682a88ed64c8033b2db1724c9015117
reduce mic gain for video chat use case

Added new path for mic with AEC in speakerphone mode
for voice/video chat use case and reduced gain by 9 dB.

Bug: 13279002.

Change-Id: Idcfc9b07caa3b6f9d2cdfec98df426e73c4b45de
hammerhead: enable slimport detection after boot completion [DO NOT MERGE]

To prevent slimport error during boot up, wait until boot
completion before start slimport detection.

Bug: 11518558
Change-Id: I4d3e8bf27cebc5e79d566400d768fadc2873e9b5
Add Bootloader Assert

Per cyanogen, users on older bootloader/basebands are prone to
adverse behavior in respect to recent commits for the device.

Add assert to alert user to begin firmware update process manually.

Change-Id: I332a5cd81a8ecf4a28fd278d448bb1a9a6c44158
hammerhead: Remove deprecated flag

Change-Id: Id52576dd2262eca00292a90511245445dab2ae08
hh: Collapse primary audio outputs

 * These are exactly the same. Just OR the flags together instead of
   confusing the HAL.
 * This appears to fix the occasional crackle on low-latency streams
   on other devices, so adding it here.

Change-Id: Id27093a09e6d0e296714221eae9f59f6d431f758
hammerhead: Make SYSTEM owner of cpu online files

This is required for the Settings app to online cpus
before writing to cpufreq files.

Change-Id: I63530bfcf095a0fbc432a908272bc89bb1ad89eb
hh: Better scaling values

 * Default slack is too long and boost is too high, these values
   collide. Fix them.
 * Set a better timer_rate to reduce jitter

Change-Id: Id99c1642ca38d184e75d09bd3afc71951a8801c0
hammerhead: Configure sync_freq feature

Use the (optimized) sync_freq feature to stop frequency
jumping around, causing jitter. We may now even revert
timer_rate and timer_slack to the previous conservative
values.

Change-Id: Ie479a97d00d02b7f2b9867549848f1c251fcb642
Add led customization config values

Change-Id: Ib999dad778fc2e03bd00866d2e1baa5b45e6c537
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
hammerhead: Disable forced use of triple framebuffers

 * This can cause additional input latency and isn't really
   needed on this hardware.

Change-Id: I662915c08f9e8b9eef609319806feda880acc7a5