audio_legacy: Convert channels to old enum
ifdef usage of legacy audio enum conversion

Without this, devices compiling from source using this HAL layer
as a static whole library will break as they already use the new enum.

Change-Id: I710dbc8b013edd5e59a04a0956c69b49da35b5ba
wifi: Add option for a device-specific wifi

This patch adds TARGET_CUSTOM_WIFI which can be used to replace the
standard wifi.c with a custom implementation without breaking things
for devices that assume default functionality. (Derived from
Gingerbread:566d2f2)
wifi: fix a bug when WIFI_EXT_MODULE_NAME is set

Missing braces will cause wifi_load_driver() to always return -1.

Change-Id: I9996633ae87cd58dd3f2b6314d8049f61594a02b
wifi: add a new "loading" state

Set wlan.driver.status to "loading" in wifi_load_driver to allow
external action being triggered by property change.

Change-Id: I72004b8b5bc711ea83cc7ae4b6a39382c05cb02f
libhardware_legacy: Add enums to support for FM and ANC features

- Added required AudioSystem enums to support FM and FM on A2DP
  features
- Also added support for ANC and FM Tx devices.

Change-Id: I2ec25f3b35d9ff6cd2e8a237eef439c8bcd10ddf
hardware/libhardware_legacy: Add interface function for LPA and FM

- New interface function prototypes are added for LPA and FM
  features

Change-Id: I1e7cb94668e2999b055acfa0c31652d5d1e719c1
libhardware_legacy: Add support for audio session

- Allow audio sessions to be opened and close
- This is required for LPA

Change-Id: Iff7192a0853dbb394b8c34962f5fbf70c9bfd6bb
libhardware_legacy: Add PolicyClient APIs for FM feature

- Added AudioPolicyClinet interface functions required for FM

Change-Id: I73f0cf6f5aca061f49e514c4a241aa6fbdc11252
audio_legacy: ignore screen_state=off/on parameter

Change-Id: I8b22f9e494bff1db84a493315a1c716d45f3bab6
Merge "libhardware_legacy: Add enums to support for FM and ANC features" into ics
Merge "hardware/libhardware_legacy: Add interface function for LPA and FM" into ics
Merge "libhardware_legacy: Add support for audio session" into ics
Merge "libhardware_legacy: Add PolicyClient APIs for FM feature" into ics
power/power: Update Code for Logical and Physical Hotplug.

Change-Id: I577a92a2e8983b0e435eebaf21ac5a0c70448414
wifi: Add AP specific API

This allow the use of a different kernel modules configuration when
initializing Hotspot.

wifi: allow dynamic override of module args

wlan.module.arg and wlan.ap.module.arg properties can be used to
dynamically override wifi and hotspot module parameters.

Change-Id: Iaae1a2db6dc7ee07a78f1f2718bdafc73528c4b1
audio: Don't use QCOM_HARDWARE when AUDIO_LEGACY is active

The older (GB) blobs used with AUDIO_LEGACY do not support the
new enums.

Change-Id: I958e27fe02b79ef795fb767c4dd3f87f65378092
audio: Don't use QCOM_HARDWARE when AUDIO_LEGACY active (more)

This completes the work started in
commit b054def640e54999a3173d59624abbb2cf2ac8b4
    audio: Don't use QCOM_HARDWARE when AUDIO_LEGACY is active

    The older (GB) blobs used with AUDIO_LEGACY do not support the
    new enums.

Change-Id: Ieb9e78011b4b6cde43577dda03fd2c003beff052
Merge branch 'ics_chocolate_M8260AAABQNLZA30136' into HEAD
Merge "wifi: Add AP specific API" into ics