audio-caf: snd_use_case_apply_voice_acdb: initialise current_mod[]

Change-Id: I38fd1638e34f38e97e9e48a0ddf51bb31e3b10f8
Add Motorola EMU audio dock support

Motorola EMU audio dock (USB->USB charge/audio Y cable) support
can be enabled by BOARD_USES_MOTOROLA_EMU_AUDIO.

- add EMU Antipop mixer control handling
- add Dock Speaker device use case
- fix one missing QCOM_USBAUDIO_ENABLED ifdef

Change-Id: Ie67339b222252411d3c7c0aaea6493a0ff10fd18
Add HAVE_SAMSUNG_AUDIO check in Alsa

Change-Id: Ibaad5bf6006b4745fe26b85939bb556c0b2177ce
legacy/alsa_sound: Replace STREAM_FM with STREAM_MUSIC.

- FM changes to move back to STREAM_MUSIC instead of STREAM_FM.
- This is done as, STREAM_FM changes from frameworks/base
has been replaced by STREAM_MUSIC.

Change-Id: I674fc148a85f722164aab42f9d4015f7923c13ec
legacy/alsa_sound: Fix for Music and FM volume concurrency.

- Call music volume and FM volume subsequently, as both use
STREAM_MUSIC, and change in one should get effective in other
application.
- Initialize FM volume to zero in Audio HAL. Store FM volume
even if FM is not active.

Change-Id: I29eb30f30a42dd2cac05fb8566e5f0725618df89
Fix building for 8974

Add the platform to the base filter, and initialize a variable when
reading EDID details that could cause evil memory accesses

Change-Id: I61955ca9280cc7c3357bf827e2e1269981fd5d6e
Merge "Fix building for 8974" into cm-10.2
alsa_sound: Add support for separated speaker mic devices

* Some devices use a dedicated ambient mic for loudspeaker, and
  reject attempts at using DMIC for it even if regular earpiece
  mode uses it

Change-Id: I87201cb3ab81a345ac817c66ba35d22b075fcedc
Revert "alsa_sound: Fix CAMCORDER_TX use case"

This reverts commit 58bd771e0b626c5edc6dbb1bfc2df0518387f6d8,
cleaner fix coming up

Change-Id: I4042b699379dbf5a0b868cd978a45cc99d8f91ac
alsa_sound: Fix camcorder input selection

Change I1ddc6460a91752fd7673d84fd41b70365d83d90c was supposed to
address camcorder during calls, and ended up forcing the main mic
for every other use case. Don't do that.

Change-Id: I4ecc11de57603ec12d2f60e408469f90ef3696b9
alsa_sound: separate fast CSD call device switching from CSD sessions

* This was two separate commits from upstream, some devices may have
  support for CSD sessions but no support for the fast call switching
  functionality.

Change-Id: I4d082b875a299e47407fb5b2d0b7ac54eef5adfa
Merge remote-tracking branch 'cm/cm-10.2' into jb-4.3

Conflicts:
	alsa_sound/Android.mk