msm8660: fix samsung dualmic support

Change-Id: Ibd8458e073268ecca4c71114df22c68cbe3455f9
mm-audio: Revert csd-client related commits
We do not have csd-client, nor do we need it currently.

Revert "alsa_sound: Define csd-client flag to enable voice call on Fusion3"

This reverts commit 5b2c92762b0070eb2a887830b3e802ca6819aa91.

Revert "alsa_sound: enable csd-client for fusion3 voice call"

This reverts commit dd36f0775a9d9f57b3db3c2f6637a79177a33f3e.
We do not have csd-client.
audio: msm8660: remove some logspam

Change-Id: Idc5549d464e325c8b6c8c8fcdcfbd0e2342c3265
msm8660: Fix building with QCOM_VOIP_ENABLED and no LPA/ANC

I've stumbled across one device in which the original audio
HAL had VOIP support, and its libaudioalsa's msm_set_voice_rx_vol_ext
needs to be invoked with a proper session_id (2 args, vol,session_id).

Invoking it with a single argument (the no-VOIP case) results in
failing volume controls for voice calls, so fix building with VOIP
enabled

Change-Id: I9d112625f88d06a3320dbf7c7ea488425bb4863e
audio/msm8660: add compatibility for the older voice api

  * On QCOM devices without *_ext() functions, add
    -DLEGACY_QCOM_VOICE to COMMON_GLOBAL_CFLAGS

Change-Id: I1866e73baa0023a7f0fd958d31c89f2b7654840c
audio/8660: htc and aic3254 support

Manual merge from:
https://github.com/CyanogenMod/android_hardware_qcom_media/commit/fcdb4544137016768a254ad98e84413f06a850d0
https://github.com/CyanogenMod/android_hardware_qcom_media/commit/3bb5ce02e9e0b584799c0b40a7f56c1f75c0cf3e
https://github.com/CyanogenMod/android_hardware_qcom_media/commit/dab964148c7c03940c4e4f50de0ee88901e8e32f
https://github.com/CyanogenMod/android_hardware_qcom_media/commit/553f67cb3b93f42eca9bf0905963a4633b8f5b2c
https://github.com/CyanogenMod/android_hardware_qcom_media/commit/be21514903b2f7dae72a87296dcd350426fc5e53
https://github.com/CyanogenMod/android_hardware_qcom_media/commit/61fffa65025c5f2478104009daf1c1f6c6c53d73

Patchset 2:
* Removed incorrectly reference patches above.
* Missed an ifdef for htc.

Patchset 3:
* Change ifdef to HTC_ACOUSTIC_AUDIO for devices that use lib_htc_acoustic

Patchset 4:
* Fix whitespace

Patchset 5:
* Missed patch (updateDeviceInfo part): https://github.com/CyanogenMod/android_hardware_qcom_media/commit/03326075ab0a95a7cd2f968296e258da2b8b08c3

Conflicts:

	msm8660/AudioHardware.cpp

Change-Id: I955ba1c58bf0f686f6e90e1c078fb6058db4c96a
audio/msm8660: enable legacy voice and HTC acoustic for HTC boards

Change-Id: I093a7c7c159c910ec66e980345231d119516cad4
audio: msm8960: add extra sound usecases for in-call usage

Add support for use cases suffixed with "Voice" for in-call usage.
HTC MSM8960 devices seem to rely on ACDB to enable in-call echo
cancellation. This requires additional devices with different ACDB IDs
in the current msm8960 audio implementation.

Change-Id: I559de8cdefe7af10c95f50b46283e87688d65e5a
audio: msm8960: update alsa_sound build to include libacdbloader

Change-Id: Ic28b2345f3e8616393e3052eb7489e87894728d3
audio: msm8960: add workaround for prebuilt libacdbloader

Jellybean expects the presence of headers for every linked library,
which doesn't account for linking against prebuilt libraries. Create and
touch the exported includes directory for libacdbloader as a workaround.

Change-Id: If79a5d38691fcdb725be31b13f8a92f89150f356
audio: msm8960: allow QCOM_ACDB_ENABLED and HTC_VOICE_CONFIG to be enabled

The BOARD_HAVE_HTC_AUDIO flag will enable QCOM_ACDB_ENABLED and
HTC_VOICE_CONFIG, both flags are necessary for proper in-call audio
functionality for HTC MSM8960 devices.

Change-Id: Ie882011e6a04d83cd218b2d860baea22221c5d56