alsa_sound: Add support for sound card in Galaxy S4 Mini

Change-Id: I9ff14fa6cc1b1a0c5b2307f4f84dc42b378ae8c9
Merge "alsa_sound: Add support for sound card in Galaxy S4 Mini" into cm-10.2
Fix -Wreorder warnings

In file included from hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.cpp:42:0:
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:
In constructor 'android_audio_legacy::AudioHardwareALSA::AudioHardwareALSA()':
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:971:11: warning:
'android_audio_legacy::AudioHardwareALSA::mCsdHandle' will be initialized after [-Wreorder]
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:957:10: warning:
'bool android_audio_legacy::AudioHardwareALSA::mMicMute' [-Wreorder]

Change-Id: I778f97bb52ac717cc6915555a177f4335dfde1c4
msm7x30: use policy manager from ALSA

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I81b65df83425fbb3fada33d53eda4f449f55ea55
msm8660: suppress some logcat spam.

There is a lot of logcat spamming going on by this. Moved some logs down
a level to ALOGV, and some of the AudioHardware.xxxx.(standby) commented
out completely.

Adapted from this patch: http://review.cyanogenmod.org/#/c/48202/

Change-Id: I6b33fbc8e004337a7670452c0c1823a06d244de9
Revert "msm8660: prevent input routing during VOIP recording"

Reverting this small change fixes an issue where the mic does not work
in anything else but dialer/phone. GNow etc all crash. This small change
fixes that.

This reverts commit c3a461aabec762307d77dd18db11593e96885cd7.

Change-Id: I70ec65f7372575bd7e98b842681c37f76916c4e3
Revert "Revert "msm8660: prevent input routing during VOIP recording""

 * Fixed, was missing { } around the log message and return statement
   causing it to abort with no error in any mode.

This reverts commit 1f11a83a50dcd859338613f12c802175a0bcfc8f.

Change-Id: I98208884fdb514b466a321c3f1a57815aeb33205
audio-caf: ensure mInputSource is initialised

Change-Id: I59f2f1aeca460256bfa4989302c2f74c6f791ab1