Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1be15993 authored by Aniket Kumar Lata's avatar Aniket Kumar Lata Committed by Gerrit - the friendly Code Review server
Browse files

hal: Fix combo device issue with routing change

- If one of the split backends match with derived sound
  device, we are disabling only the backends that do not
  match with derived sound device. This was introduced
  with Change-Id: I171fbead85746a2a34632f7580f56ef40505665c
- However, the change does not clean up the combo device
  which is being disabled.
- We need to decrement reference count of combo device and
  send some updates for combo device along with the change
  mentioned above. Not doing this can lead to combo device
  not getting enabled on subsequent tries.
  This change fixes the above issue.
- Also, if one of the split backends matches with derived
  sound device, do not re-enable the device.

Change-Id: Id1bd00bfa5f0236400529e5771851749421ac84c
parent 0df225b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment