alsa_sound: Changes for adsp restart handling

ALSA device open does not check for if adsp is up and running
before calling open device. It keeps on looping on device open call
which blocks apps processor to trigger adsp restart during subsystem
restart handling. To avoid this add check adsp state before calling
ALSA device open operation.

Change-Id: I5a637ce0799ec07e5e87af17be1ddb6ab05e49a6

Conflicts:
	alsa_sound/ALSADevice.cpp
	alsa_sound/AudioHardwareALSA.h
audio/msm7x30: Use q5v2_msm_audio_mvs_frame struct

Otherwise a packet size of 640, which 7x30 modem doesn't support,
will be used. 7x30 expects a packet size of 320.

Was changed in AudioHardware::AudioStreamOutDirect::write, but
seems to have been forgotten here.

Related kernel change: http://bit.ly/M7ZqMN

Change-Id: Ie89da836cbe27ea6b6cd10ef5c830ecc7020a624
audio/msm7630: Fix for Echo in Gtalk

- Echo is observed in Gtalk.
- Audio HAL informs that clients that it handle the Echo
  cancellation and with AHAL client turns off the EC.
- EC is not supported in this PL remove it from getparam
CRs-Fixed: 427161

Change-Id: I62eba7ed7566045f61c34a51c8ac36029b8596ea
audio/msm7x30: Stop the log spam during VOIP calls

Change-Id: Idfe211b1fef6f2aeee51ebe7f1b6ce3f4a0787be
Merge branch 'cm-10.1' of https://github.com/CyanogenMod/android_hardware_qcom_audio-caf into jb-mr1