Merge tag 'AUDIO.LA.8.0.r1-09300-KAILUA.0' into staging/lineage-20.0_merge-AUDIO.LA.8.0.r1-09300-KAILUA.0

AUDIO.LA.8.0.r1-09300-KAILUA.0

# By Anand Mohan (10) and others
# Via Gerrit - the friendly Code Review server (59) and others
* tag 'AUDIO.LA.8.0.r1-09300-KAILUA.0': (78 commits)
  pal: Use increase/decrease StreamUserCounter to protect getTimestamp
  pal: Use increase/decrease StreamUserCounter to protect getTimestamp
  pal: Define A2DP_SINK_SUPPORTED for anorak using Android U
  PAL: move compress_stop() in front of deregistering callback
  pal: fix memory leakage when setting upd gain
  configs: anorak: Add Spatial Audio stream KV
  PAL: Write the XMAX_TMAX data into file in readable format
  PAL: Track WSA PA output amp and temp during WSA reliability test
  Pal: support FTM mode for four ch speaker protection
  PAL: move compress_stop() in front of deregistering callback
  pal: update number of channels  in resourcemanager for proxy When we get device switch back to back without setparameters the value of channels is 0 because of which the channel number in resource manager is not getting updated. Hence, updating the number of channels and reset is done on device close when no device is connected.
  pal: configs: crow: update vi/cps feedback ch to 1
  pal: fix memory leakage when setting upd gain
  USBAudio: return correct channel mask depending on channel count for TX
  pal: Perform read only in Buffering State
  pal: Add Null Check for LoadSoundModel.
  pal: move sco out device to the beginning of device disconnect list
  pal: check isConfigured flag before isAbrEnabled is initialized to false
  pal: allow concurrency with proxy tx for VoiceUI
  pal: configs: crow: update vi/cps feedback ch to 1
  ...

Change-Id: I092d191777a7cc998cf43b1a41df275aa76353c7