alsa_sound: Fix to sound burst on switching from speaker to headset

- Sound burst observed on speaker to headset switch if call + pcm
  music playback is active

- On each keyRouting call from APM, HAL is routing new device to all
  open outputs.This result device switch stream mute(vol 0) is applied
  for PCM playback after device switch

- Call HAL routing to primary output first followed by fastoutput
  (if tunnel is not active) will resolve mismatch

Change-Id: I812cab1f57c6f4707adb626ca4581d7c82a18e55
Merge "alsa_sound: Fix to sound burst on switching from speaker to headset"
alsa_sound: select correct BT device pair for car-kit use case

- No audio during call when connected to Alpine NTG2.5 carkit
- BT-SCO Rx as the output device and Hanset Dual Mic as the
  input device is selected which is not a valid pair
- Select BT-SCO Tx as input when BT-SCO Rx is the output device

CRs-Fixed: 585953
Change-Id: I6a5220bf14fd2d7476196b9b1730c0646beec3a1
Merge "alsa_sound: select correct BT device pair for car-kit use case"
alsa_sound: select correct BT device pair for car-kit use case

- No audio during call when connected to Alpine NTG2.5 carkit
- BT-SCO Rx as the output device and Hanset Dual Mic as the
  input device is selected which is not a valid pair
- Select BT-SCO Tx as input when BT-SCO Rx is the output device

CRs-Fixed: 585953
Change-Id: I6a5220bf14fd2d7476196b9b1730c0646beec3a1
Merge AU_LINUX_ANDROID_KK_2.7_RB1.04.04.01.007.022 on remote branch

Change-Id: I9b348ebc2c784c4e298d2145092d17f6ae87f3f4
Merge "Merge AU_LINUX_ANDROID_KK_2.7_RB1.04.04.01.007.022 on remote branch"
Merge remote-tracking branch 'caf/kk_2.7_rb1.17' into HEAD