msm8660: Add dependency on kernel headers

 * Let's get rid of headers in device repositories.

Change-Id: I6408a1368cc1e3cd2f11d80f7eed54085dcd60c0
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: Add latency support for LPA

-Audio loss for few seconds on headset connection.
-Stream is unmute in checkDeviceMuteStrategies before device switch
occurs.
-Increase delay in tempMute to ensure unmuting happens after device
switch happens. Also change latency for LPA to correct value similar
to that of hpcm.

Change-Id: I539a4726f6b9d53bbfdc5f92a8801d5f14c360eb
CRs-Fixed: 448355
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)

Change-Id: I4aa578442c24949b56586a5260fefd5e73c9292a
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
Fix VOIP audio routing issue and add usb audio hal profile

Adapted from arco's audio_policy.conf for msm7x30

Change-Id: I0c10f382cd96dd50f86c082d1f633ec360f87692
msm8660: Fix compilation error for 8660

Change-Id: I719a9dc910ff2a65c6fb23f3e6a3784c4495a173
Merge remote-tracking branch 'cm/cm-10.1' into jb-4.2