qcom-common: Update codec xml for kitkat

Change-Id: Ic1668789e7ed0e0fab729670f9099ce9a4b8cef8
qcom-common: use legacy audio

Change-Id: I8524242dea79a5bd9bb5a25d2f3b7653e3ef1c81
qcom: properly query battery capacity

  * 4.4 introduces a new daemon, healthd, that handles battery status
    - resides in: /system/core/healthd
    - BatteryMonitor.cpp iterates through all the *directories* under
      /sys/class/power_supply looking for a file called 'type'
    - if the type == Battery, it assumes this is the location for the
      battery stats for the device. Only the first directory that matches
      this criteria is used.
    - on msm8660 and d2/jf kernels, this search results in:
      /sys/class/power_supply/fuelgauge.
    - To determine capacity, healthd looks at the contents of the
      'capacity' file under this discovered base path. This results
      in /sys/class/power_supply/fuelgauge/capacity on msm8660/d2/jf
      kernels.
    - Unfortunately, this is the wrong path. The capacity file at this
      location returns a large negative number.
    - Other paths like status, voltage_now, and present are also
      incorrectly determined.
  * For comparison, in 4.3 battery statistics gathering was handled by
    frameworks/base/services/jni/com_android_server_BatteryService.cpp
    - BatteryService does a similar search for a file called 'type' with
      the contents of 'Battery'
    - But the search logic is different here: it takes the *last* path that
      matches the criteria.
    - This results in the correct /sys/class/power_supply/battery
  * This patch overrides the discovery mechanism for battery status completely.

Change-Id: I807745028bafa15f2267a37206045e96d1c40e3b
Merge "qcom-common: use legacy audio" into cm-11.0
Merge "qcom-common: Update codec xml for kitkat" into cm-11.0
Update thermald-8930ab.conf

 * CPU frequency list was completely wrong.
   Fixed in later roms by Samsung.

Change-Id: I9999da417c73ed3634fc9f0774342dc49ab7a680
qcom-common: enable cpu notify on migrate for msm8960 target

Change-Id: I4bf955bbd895b282cc51368b768bcb1d7e6b1a26
qcom-common: Remove the QCOM_HARDWARE flag

 * Move this up a level, not everyone wants this yet.

Change-Id: I93fdce4eb29eddcb002b98f7004678e3e4050e89
qcom-common: msm8974 to build barrier and add updated init files

Change-Id: I1923a06728ce96d421548cf5e27ea0eeddf972cf
qcom-common: Update cpufreq settings

 * Set defaults for 8960 in case we're not using CM PowerHAL
 * Switch 8974 to interactive

Change-Id: I18bc8b23eb79a66c2cb208d3507d78ab42481984
Something's not right in Narnia

This build barrier isn't working, serrano and jf/d2 devices are not
inheriting the thermal files AT ALL, and it would never do what it's
supposed to do anyway if the inheritance order in msm8960-common were
fixed to accomodate it, since htle explicitly calls msm8960-common

Change-Id: Id3dfd645c12778a9ed321dc633745e05c6c281c5
qcom-common: Add sync freq for 8960

Change-Id: I49adedc91a18d90a19cf33af9e755eeabec2455c
qcom-common: Add power modes for recovery

Change-Id: I8d1ea1d078269219153f9b6f58a3da7c265c14fc
qcom-common: Modify chown/chmod to not follow symlink

Change-Id: Ia172cc4368580e628007b33985000a7734d55ea5
qcom-common: Remove obsolete features

Change-Id: I745c07fe55316d305fccad7f26c94f1db63b0408
Merge "qcom-common: Remove obsolete features" into cm-11.0
qcom-common: enable msm8974 cpu power settings

* fixup the path for hlte's msm8974 powersettings
Change-Id: I0802cc122b606b08f58731febd8bf050d22f4c59
Merge "qcom-common: enable msm8974 cpu power settings" into cm-11.0
set go_hispeed_load to 95 for msm8960 targets

For smoother scaling on interactive governor.

Change-Id: I86bc9f9dca02889303a37cff17e583ac8e5b8477
apexqtmo: introduce more aggressive thermal throttling

Due to the sub-standard chips used on some SoC revs, some apexqtmo
devices have a need for higher levels of thermal throttling. Break the
MSM8260a out from the rest of the MSM8960's by platformid, and assign
more aggressive thermal throttling if an affected cpu is detected.

Change-Id: I5c34915e64e83b204448190bd365c47d0ea5ebf9