asoc: codecs: bolero: Add adc1 condition to tx hold callback

TX hold callback returns without making a callback
to external codec if the ADC with number one is called.
Add the condition for the missing ADC to make the callback
for ADC1.

Change-Id: Iec480b40cfbe199fbe06151abd99d9ad6aaf9c9d
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
This commit is contained in:
Karthikeyan Mani 2019-05-14 17:33:40 -07:00 • committed by Gerrit - the friendly Code Review server
commit 70df516a60

View file

@ -287,6 +287,8 @@ void bolero_clear_amic_tx_hold(struct device *dev, u16 adc_n)
event = BOLERO_WCD_EVT_TX_CH_HOLD_CLEAR;
if (adc_n == BOLERO_ADC0)
amic = 0x1;
else if (adc_n == BOLERO_ADC1)
amic = 0x2;
else if (adc_n == BOLERO_ADC2)
amic = 0x2;
else if (adc_n == BOLERO_ADC3)