qcom/audio/hal: Fix the issue audio not routed to headset

- Boot the phone without headset plugged in, plug in headset and
  play music. Audio is heard on speaker instead of headset.
- The devices of output stream corresponding to music playback
  is not being updated correctly.
- Fix by correcting the output device uption logic in
  out_set_parameters()

Bug: 8239898
Change-Id: Ie24de09847533660d2280744d33cba7d7fb7d535
1 file changed
tree: 04b3816581d0e6f8dbdcea6d788f1089f4cd75dc
  1. hal/
  2. legacy/
  3. Android.mk