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

Commit 70df516a authored by Karthikeyan Mani's avatar Karthikeyan Mani Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarKarthikeyan Mani <kmani@codeaurora.org>
parent 586382a7
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -287,6 +287,8 @@ void bolero_clear_amic_tx_hold(struct device *dev, u16 adc_n)
	event = BOLERO_WCD_EVT_TX_CH_HOLD_CLEAR;
	event = BOLERO_WCD_EVT_TX_CH_HOLD_CLEAR;
	if (adc_n == BOLERO_ADC0)
	if (adc_n == BOLERO_ADC0)
		amic = 0x1;
		amic = 0x1;
	else if (adc_n == BOLERO_ADC1)
		amic = 0x2;
	else if (adc_n == BOLERO_ADC2)
	else if (adc_n == BOLERO_ADC2)
		amic = 0x2;
		amic = 0x2;
	else if (adc_n == BOLERO_ADC3)
	else if (adc_n == BOLERO_ADC3)