add missing for es310

N/A

Change-Id: I40d9f60ae30709f0e0de03fc75d8d9b8f0bb99d4
Signed-off-by: huangqiwu <huangqiwu@xiaomi.com>
Revert "add missing for es310"

This reverts commit 5092bae24f4e43f724b529051812d6f7a2b59e0c.
Revert "Revert "audio: Fix for AV Sync related issues""

This reverts commit a4dd6fe0c7b068ef0d7a68c2164a7deddc599b84.

Change-Id: Ib377ca1eb889986be79f839a713155a5b87d03ae
audio :Close HotWord audio source if it is already opened

- HotWord GTS test tries to record using second instance
  of HotWord Audio Source while one is already active.
  AudioPolicyManagerALSA is not closing the previous audio
  input before starting the second input.
- AudioHardwareALSA::openInputStream rejects opening
  of the second instance of audio input.
- HotWordAudioSource GTS test case fails due to above
  reasons.
- Fix is to enable the code that closes the previous
  input before starting the second audio input.
- Remove the code in openInputStream that is restricting
  the second record client. This is not needed now as it
  is already done in startInput of AudioPolicyManagerALSA

Change-Id: I63cd5061e23bef6c1f7c52cadd65833778e34018
CRs-Fixed: 591788
audio: bring back audio

N/A

Signed-off-by: huangqiwu <huangqiwu@xiaomi.com>
alsa_sound: Fix close mic fail

N/A

Signed-off-by: huangqiwu <huangqiwu@xiaomi.com>
Merge branch kk_2.7

N/A

Change-Id: I6b9950d96e9378e82a75840882ebcf2443ec80aa
Signed-off-by: huangqiwu <huangqiwu@xiaomi.com>