Revert "audio/msm8660: Squashed set of updates"

This reverts commit f840bab8aaf93b0142b2a1425c5a52ec98565a2b.
audio/msm8660: Squashed set of updates

* Updates cherry-picked from msm7x30's jb_2.5.3 branch.

msm7630 : Send proper channleMask for getInputProfile()

-Unable to perform Voice call recording.
-Unable to find profile for the device.
-Update proper channelMask for getInputProfile().

Change-Id: Ic67a1d59c4ea54ecccab2958e3c94672282f710f

audio/msm7630: Add usb audio hal profile.

remove USB ACCESSORY support from STRATEGY_PHONE to force speaker

Change-Id: I080d1e547310d48b43bdf9bae8ee789887766b3c

audio/msm7630: Fix the issue of voice call when HDMI connected

- Voice call is not working when HDMI cable is connected.
- When HDMI is connected getDeviceForStrategy is picking
  up HDMI rx as active device, because of this voice call
  is not working.
- Avoid updating the HDMI as active output device, when
  strategy is STRATGY_PHONE.

(cherry picked from commit 93bc81a7cd494373c19e5611fed060732a14b31b)

Change-Id: I74be601f771883d9dfecc751994a4068acaf2d03

audio/msm7630: Fix to enable TTY device

-Connecting TTY device is not showing proper RX and TX values.
-Mismatch in Key values of TTY modes in HAL.
-Change TTY mode string values as per the values in PhoneGlobals.java.

CRs-Fixed: 449513
Change-Id: I53e52b057bb535647731bdd7b99cb065b2e50940

audio/msm7630: Fix for back to back VOIP calls failure

- Back to back VOIP calls fail.
- MVS driver is not closed in HAL at the end of VOIP call
  due to wrong book keeping of VOIP in and out streams.
  This prevents back to back VOIP calls.
- Enhance bookkeeping code and close driver at end of VOIP call

(cherry picked from commit 2884ae26b9b65f49acee44a49efbc6196ab6d15f)

Patchset 2: fix unneeded bool usage (isDriverClosed)

Change-Id: Ia99149fca9c47846bc7c5a71bc23e1cbc30a16fa