audio_policy: Fix for audio routing speaker though BT is connected

- Speaker device is selected by getDeviceForStrategy() though BT is
  connected as mA2dpSuspended is still remaining as 'true' even
  after ending the voice call.
- This flasg is not updated by checkA2dpSuspend() as force usage
  for communication and record is still FORCE_BT_SCO after ending
  voice call.
- Modified condition check to set mA2dpSuspended to 'false' as soon
  as phone state is changed to MODE_NORMAL
  porting from change:Ib3a67268be33a10c6bcdf6437868990a92a06c2f

Change-Id: I86ebb66cd165e8009bfa6193d2ad9ab383996283
CRs-Fixed: 671810
wlan: Fix for improper comparison of driver_status string

This commit ensures driver load failure status is compared with
valid string which has the failure/success information.

Change-Id: I3b619ad0c005fb793d127bd2a23b376ed961d0b7
CRs-Fixed: 652539
audio:Changes to enable LPA/Tunnel

 Changes to enable LPA/Tunnel mode

Change-Id: Ic7381c4c45b67ae0cfdcc4a01fc85014ca95dec2
audio: Add ifdefs for LPA/Tunnel

* Require QCOM_DIRECTTRACK to enable this feature.

Change-Id: I8d698b7fef6da09378a965be1f500de2eacce7c9
libhardware_legacy: Add MSM specific flags, devices and channels.

- Add support for MSM flags, devices and channels

Change-Id: I6cb5f34b49e24e6d6f97821189bdb6e96ce283a8
audio: Add ifdefs for MSM specific flags

* Require QCOM_HARDWARE to enable these flags.

Change-Id: Ia20602ac31d7e192c71b48ad21d4112d5af273c6