hal: Fix the device disable/enable sequence for capture usecases

Tx mute is observed in voice call in case of DSDS scenarios.
During device switch, when two or more voice usecases are present,
which share the same backend then the Tx device disable/enable
sequence isn't properly follwed resulting disabling of mic.
Fix this by adding proper check at disable/enable of devices
for capture usecases that share same backend.

CRs-Fixed: 979685
Change-Id: Id1cc27db8ddbbdbf1dffc02c07ce7785b184770b
1 file changed