hal: Fix the input device is disabled when VOICE and VOIP are active

Tx mute is observed when VOICE and VOIP are active. When voice and voip
usecases are present, input devices of VOICE and VOIP do not update to
same snd_device, then tx device is disabled to cause mute issue.

Fix this by adding proper check at disable/enable of devices for
capture usecases that share same backend.

CRs-Fixed: 988594
Change-Id: Id8d34574efac3b9cc860341449e426f2790656da
1 file changed