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
3 files changed